Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 1305376 / CommandPlan.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- CodeTypeDelegate.cs
- TargetParameterCountException.cs
- EUCJPEncoding.cs
- SmiGettersStream.cs
- FacetEnabledSchemaElement.cs
- BatchStream.cs
- Transform3DCollection.cs
- ZipIOLocalFileHeader.cs
- DataGridHeaderBorder.cs
- Unit.cs
- MultiBindingExpression.cs
- ControlAdapter.cs
- ToolTip.cs
- SafeCoTaskMem.cs
- IsolatedStorageFilePermission.cs
- HttpCachePolicyElement.cs
- SafeNativeMethods.cs
- AlphabeticalEnumConverter.cs
- EdmItemCollection.OcAssemblyCache.cs
- CompilationAssemblyInstallComponent.cs
- WebPartMovingEventArgs.cs
- GridViewRowPresenterBase.cs
- XsltQilFactory.cs
- EdmType.cs
- SspiSecurityToken.cs
- FixedSOMPageElement.cs
- CalendarAutomationPeer.cs
- PageClientProxyGenerator.cs
- ImageKeyConverter.cs
- VerificationException.cs
- MatrixStack.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- TextSpan.cs
- Message.cs
- XmlQueryCardinality.cs
- MLangCodePageEncoding.cs
- WindowsListViewGroup.cs
- FrameDimension.cs
- HttpMethodConstraint.cs
- DataObjectFieldAttribute.cs
- WebPartChrome.cs
- PrivateFontCollection.cs
- RegisteredHiddenField.cs
- NetDataContractSerializer.cs
- MeshGeometry3D.cs
- EntityReference.cs
- PropertyDescriptorCollection.cs
- XPathLexer.cs
- BitStack.cs
- SqlPersonalizationProvider.cs
- SubstitutionDesigner.cs
- ProbeMatchesCD1.cs
- SchemaObjectWriter.cs
- Executor.cs
- PinnedBufferMemoryStream.cs
- SecurityPolicyVersion.cs
- PassportAuthentication.cs
- ErrorHandler.cs
- ICollection.cs
- DocumentApplicationJournalEntry.cs
- MappingMetadataHelper.cs
- PackWebRequestFactory.cs
- FirstMatchCodeGroup.cs
- BrowserTree.cs
- SqlCommand.cs
- ViewBox.cs
- SrgsGrammarCompiler.cs
- ContentHostHelper.cs
- XamlParser.cs
- RemotingHelper.cs
- _SecureChannel.cs
- TransmissionStrategy.cs
- ObjectItemConventionAssemblyLoader.cs
- HttpHandlerActionCollection.cs
- DataObjectFieldAttribute.cs
- SqlUserDefinedTypeAttribute.cs
- DecimalKeyFrameCollection.cs
- CacheForPrimitiveTypes.cs
- codemethodreferenceexpression.cs
- CodeAccessSecurityEngine.cs
- XXXOnTypeBuilderInstantiation.cs
- ZipIOFileItemStream.cs
- Point3DAnimationBase.cs
- SoundPlayer.cs
- MasterPageParser.cs
- CookieProtection.cs
- activationcontext.cs
- RSAProtectedConfigurationProvider.cs
- Hyperlink.cs
- DBParameter.cs
- OdbcDataAdapter.cs
- SpAudioStreamWrapper.cs
- RightNameExpirationInfoPair.cs
- QilTypeChecker.cs
- TextEncodedRawTextWriter.cs
- unsafenativemethodsother.cs
- BitmapSizeOptions.cs
- Helpers.cs
- XPathCompileException.cs
- ValuePatternIdentifiers.cs