Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 2 / 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
- SessionStateUtil.cs
- PersonalizationStateInfo.cs
- ExpressionBindings.cs
- Int16AnimationBase.cs
- IntSecurity.cs
- ListViewItem.cs
- StylusShape.cs
- Identity.cs
- WSDualHttpBinding.cs
- ThemeableAttribute.cs
- TableAdapterManagerGenerator.cs
- ObjectStorage.cs
- DelimitedListTraceListener.cs
- UnaryNode.cs
- QilXmlReader.cs
- AuthStoreRoleProvider.cs
- DesignerValidatorAdapter.cs
- StaticContext.cs
- BitmapSourceSafeMILHandle.cs
- GraphicsContainer.cs
- TreeChangeInfo.cs
- PKCS1MaskGenerationMethod.cs
- ValueTypeIndexerReference.cs
- OutputWindow.cs
- DragStartedEventArgs.cs
- ToolStripItemDataObject.cs
- lengthconverter.cs
- EntityFrameworkVersions.cs
- DynamicMethod.cs
- SqlFlattener.cs
- DataGridTable.cs
- StrongName.cs
- MainMenu.cs
- AspCompat.cs
- ValidationService.cs
- LoginUtil.cs
- WebPartVerb.cs
- CategoryAttribute.cs
- EntityDataSourceDesignerHelper.cs
- QueryRewriter.cs
- AsyncResult.cs
- SqlNotificationRequest.cs
- ParseNumbers.cs
- AstTree.cs
- UrlAuthFailedErrorFormatter.cs
- DispatcherExceptionEventArgs.cs
- TemplateAction.cs
- ResourcePart.cs
- SystemIPInterfaceProperties.cs
- XmlWhitespace.cs
- SynchronizationLockException.cs
- EtwTrace.cs
- GiveFeedbackEvent.cs
- RelationshipEnd.cs
- SqlBuffer.cs
- CommandSet.cs
- ListenerElementsCollection.cs
- TimeSpanValidatorAttribute.cs
- ResourceDictionaryCollection.cs
- PathStreamGeometryContext.cs
- PeerNameRecord.cs
- ToolBarPanel.cs
- DynamicMethod.cs
- ObjectStateFormatter.cs
- DataSourceHelper.cs
- LinqDataSourceDeleteEventArgs.cs
- EntityTemplateFactory.cs
- TypeExtensionConverter.cs
- PopupRoot.cs
- JapaneseCalendar.cs
- ControlCollection.cs
- WebPartCatalogCloseVerb.cs
- PartialClassGenerationTask.cs
- FormViewUpdateEventArgs.cs
- XmlSerializerFormatAttribute.cs
- FactoryMaker.cs
- TreeNodeBinding.cs
- AppSettingsSection.cs
- IsolatedStorageException.cs
- NativeMethods.cs
- MasterPageCodeDomTreeGenerator.cs
- PropertyEmitter.cs
- XmlSchemaSet.cs
- PrivilegeNotHeldException.cs
- SafeCryptHandles.cs
- XPathAncestorQuery.cs
- DataGridView.cs
- QualificationDataAttribute.cs
- CreateUserWizard.cs
- MembershipSection.cs
- DefaultParameterValueAttribute.cs
- BufferBuilder.cs
- SqlCommandBuilder.cs
- ValidationHelper.cs
- LinqDataSourceEditData.cs
- NavigationHelper.cs
- connectionpool.cs
- XamlParser.cs
- BinaryNode.cs
- QuadraticEase.cs