Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 1 / CommandPlan.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Globalization; using System.Data.Common; using md = System.Data.Metadata.Edm; using cqt = System.Data.Common.CommandTrees; //using System.Diagnostics; // Please use PlanCompiler.Assert instead of Debug.Assert in this class... // // A CommandPlan represents the plan for a query. // namespace System.Data.Query.PlanCompiler { #region CommandInfo ////// Captures information about a single provider command /// internal sealed class ProviderCommandInfo { #region public apis ////// Internal methods to get the command tree /// internal cqt.DbCommandTree CommandTree { get { return _commandTree; } } #endregion #region private state private cqt.DbCommandTree _commandTree; private ProviderCommandInfo _parent; private List_children; #endregion #region constructors /// /// Internal constructor for a ProviderCommandInfo object /// /// command tree for the provider command /// children command infos internal ProviderCommandInfo(cqt.DbCommandTree commandTree, Listchildren) { _commandTree = commandTree; _children = children; if (_children == null) { _children = new List (); } foreach (ProviderCommandInfo child in _children) { child._parent = this; } } #endregion } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Globalization; using System.Data.Common; using md = System.Data.Metadata.Edm; using cqt = System.Data.Common.CommandTrees; //using System.Diagnostics; // Please use PlanCompiler.Assert instead of Debug.Assert in this class... // // A CommandPlan represents the plan for a query. // namespace System.Data.Query.PlanCompiler { #region CommandInfo ////// Captures information about a single provider command /// internal sealed class ProviderCommandInfo { #region public apis ////// Internal methods to get the command tree /// internal cqt.DbCommandTree CommandTree { get { return _commandTree; } } #endregion #region private state private cqt.DbCommandTree _commandTree; private ProviderCommandInfo _parent; private List_children; #endregion #region constructors /// /// Internal constructor for a ProviderCommandInfo object /// /// command tree for the provider command /// children command infos internal ProviderCommandInfo(cqt.DbCommandTree commandTree, Listchildren) { _commandTree = commandTree; _children = children; if (_children == null) { _children = new List (); } foreach (ProviderCommandInfo child in _children) { child._parent = this; } } #endregion } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Repeater.cs
- DisplayInformation.cs
- ModuleConfigurationInfo.cs
- ToolStripPanelRow.cs
- PerformanceCounterPermissionEntryCollection.cs
- ReadWriteObjectLock.cs
- VSWCFServiceContractGenerator.cs
- Resources.Designer.cs
- WebPartDescriptionCollection.cs
- ReferencedAssembly.cs
- ClientTarget.cs
- AnimatedTypeHelpers.cs
- ValidationSummary.cs
- AddInEnvironment.cs
- FamilyMapCollection.cs
- XpsResourcePolicy.cs
- PageTheme.cs
- QilPatternFactory.cs
- PagePropertiesChangingEventArgs.cs
- ErrorFormatterPage.cs
- XmlCustomFormatter.cs
- TextFormatterHost.cs
- XamlSerializer.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AuthenticationModulesSection.cs
- EntityException.cs
- MailAddressCollection.cs
- CodeGenerator.cs
- UserMapPath.cs
- EventTrigger.cs
- SelectionEditingBehavior.cs
- RemoteWebConfigurationHost.cs
- TemplateBuilder.cs
- BitmapEffectCollection.cs
- MaskInputRejectedEventArgs.cs
- BoolLiteral.cs
- InternalBase.cs
- BooleanKeyFrameCollection.cs
- OletxTransactionHeader.cs
- DbParameterCollectionHelper.cs
- AlgoModule.cs
- MenuItem.cs
- CompletedAsyncResult.cs
- SqlCommand.cs
- DocumentXmlWriter.cs
- PolicyReader.cs
- RewritingPass.cs
- EntityCommandCompilationException.cs
- UnsafeNativeMethods.cs
- CalendarDay.cs
- WpfXamlLoader.cs
- IdleTimeoutMonitor.cs
- MutexSecurity.cs
- WizardForm.cs
- safesecurityhelperavalon.cs
- CngKey.cs
- AspNetRouteServiceHttpHandler.cs
- Brushes.cs
- EditingContext.cs
- ReflectionHelper.cs
- SQLDecimal.cs
- Popup.cs
- Container.cs
- TextElementEditingBehaviorAttribute.cs
- OdbcException.cs
- ByteFacetDescriptionElement.cs
- SingleAnimationUsingKeyFrames.cs
- BlockCollection.cs
- keycontainerpermission.cs
- AutomationPropertyInfo.cs
- JsonXmlDataContract.cs
- GCHandleCookieTable.cs
- TraceListeners.cs
- SiteMapNodeCollection.cs
- ConfigXmlSignificantWhitespace.cs
- XmlDeclaration.cs
- SQLDateTimeStorage.cs
- TreeNodeStyleCollection.cs
- CommonRemoteMemoryBlock.cs
- ACL.cs
- DataContext.cs
- TdsEnums.cs
- URIFormatException.cs
- BaseResourcesBuildProvider.cs
- Quaternion.cs
- IdentityNotMappedException.cs
- SemanticBasicElement.cs
- FaultPropagationRecord.cs
- StateBag.cs
- SurrogateChar.cs
- ActivityInterfaces.cs
- WebPartVerbCollection.cs
- QueryReaderSettings.cs
- OneOfTypeConst.cs
- TypographyProperties.cs
- Span.cs
- EncryptedType.cs
- TaiwanCalendar.cs
- TextEncodedRawTextWriter.cs
- EditorAttribute.cs