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
- PipeStream.cs
- RoleService.cs
- OpCopier.cs
- ZeroOpNode.cs
- RenamedEventArgs.cs
- InfoCardMasterKey.cs
- CannotUnloadAppDomainException.cs
- CodeStatementCollection.cs
- SessionState.cs
- SqlPersonalizationProvider.cs
- LocatorPartList.cs
- _AuthenticationState.cs
- DiscriminatorMap.cs
- SchemaElementLookUpTableEnumerator.cs
- securitycriticaldataformultiplegetandset.cs
- RootNamespaceAttribute.cs
- ObjectViewQueryResultData.cs
- GeometryConverter.cs
- EditCommandColumn.cs
- _AuthenticationState.cs
- ZoneIdentityPermission.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- AnnotationResource.cs
- AppearanceEditorPart.cs
- Cursor.cs
- PerspectiveCamera.cs
- HwndHostAutomationPeer.cs
- AssemblyAssociatedContentFileAttribute.cs
- SoapReflectionImporter.cs
- ClonableStack.cs
- SizeAnimationClockResource.cs
- ResourceAssociationTypeEnd.cs
- EventArgs.cs
- ObjectConverter.cs
- TextTreePropertyUndoUnit.cs
- basecomparevalidator.cs
- BadImageFormatException.cs
- BitmapFrameDecode.cs
- GifBitmapEncoder.cs
- QueryRewriter.cs
- LambdaValue.cs
- XmlCharCheckingWriter.cs
- BitmapPalettes.cs
- _CommandStream.cs
- CollectionBase.cs
- xml.cs
- DragDrop.cs
- XmlObjectSerializer.cs
- Interop.cs
- ToolboxItem.cs
- IRCollection.cs
- SafeCryptHandles.cs
- SurrogateEncoder.cs
- WindowsHyperlink.cs
- ToolStripGripRenderEventArgs.cs
- BufferCache.cs
- ProxyWebPartManager.cs
- FragmentQueryProcessor.cs
- UIElement3DAutomationPeer.cs
- XmlSchemaObjectTable.cs
- Descriptor.cs
- OleDbPermission.cs
- FormsAuthenticationUser.cs
- PeerEndPoint.cs
- SrgsElementFactoryCompiler.cs
- HttpException.cs
- CommandConverter.cs
- CheckBoxFlatAdapter.cs
- InkSerializer.cs
- DataTableReaderListener.cs
- SQLResource.cs
- TreeNodeClickEventArgs.cs
- BaseServiceProvider.cs
- PenContexts.cs
- SpanIndex.cs
- CryptoApi.cs
- DataControlFieldCell.cs
- Exceptions.cs
- NetSectionGroup.cs
- HttpPostLocalhostServerProtocol.cs
- InvalidProgramException.cs
- ListViewEditEventArgs.cs
- FontDialog.cs
- DragDeltaEventArgs.cs
- IPGlobalProperties.cs
- TextRangeEdit.cs
- Composition.cs
- FunctionImportElement.cs
- MetadataUtilsSmi.cs
- NamespaceTable.cs
- HyperLinkColumn.cs
- DesignerActionPropertyItem.cs
- TableCell.cs
- WindowsFormsSynchronizationContext.cs
- TableRow.cs
- SerTrace.cs
- OptimalBreakSession.cs
- FormattedText.cs
- _AutoWebProxyScriptEngine.cs
- MaskDesignerDialog.cs