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
- ActivityStateRecord.cs
- ThrowHelper.cs
- WeakReadOnlyCollection.cs
- CompositeControl.cs
- TaiwanCalendar.cs
- CssStyleCollection.cs
- CompositeDataBoundControl.cs
- Helper.cs
- XmlSchemaSimpleTypeRestriction.cs
- HandlerMappingMemo.cs
- Span.cs
- autovalidator.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- TypedDataSourceCodeGenerator.cs
- EdmError.cs
- MobileTextWriter.cs
- HtmlEmptyTagControlBuilder.cs
- MimeParameterWriter.cs
- ManagementException.cs
- HashCryptoHandle.cs
- FigureParaClient.cs
- PresentationAppDomainManager.cs
- LicenseException.cs
- HyperLinkField.cs
- XmlWrappingReader.cs
- OuterGlowBitmapEffect.cs
- ExtractCollection.cs
- ModuleElement.cs
- Adorner.cs
- EventMappingSettings.cs
- EntityDataSourceEntityTypeFilterItem.cs
- TextEditorMouse.cs
- DataGridViewAddColumnDialog.cs
- IFormattable.cs
- UInt64.cs
- ComponentCommands.cs
- Material.cs
- WindowsMenu.cs
- TextBoxRenderer.cs
- DisableDpiAwarenessAttribute.cs
- WebControlAdapter.cs
- RevocationPoint.cs
- OpenCollectionAsyncResult.cs
- AnimationClockResource.cs
- TraceHandlerErrorFormatter.cs
- AutoGeneratedField.cs
- XmlDataSourceNodeDescriptor.cs
- ColumnPropertiesGroup.cs
- ReferenceEqualityComparer.cs
- AsyncWaitHandle.cs
- VirtualDirectoryMappingCollection.cs
- SmtpReplyReaderFactory.cs
- DetailsView.cs
- XmlSubtreeReader.cs
- VBCodeProvider.cs
- InternalDispatchObject.cs
- VirtualPath.cs
- IfJoinedCondition.cs
- HotSpotCollection.cs
- RedistVersionInfo.cs
- TextInfo.cs
- MessageQueue.cs
- DefaultAssemblyResolver.cs
- HtmlFormParameterReader.cs
- DataObjectMethodAttribute.cs
- ViewCellSlot.cs
- VisualStyleTypesAndProperties.cs
- IconHelper.cs
- QueryCursorEventArgs.cs
- RadioButtonList.cs
- SpAudioStreamWrapper.cs
- GenericAuthenticationEventArgs.cs
- RolePrincipal.cs
- TypeForwardedToAttribute.cs
- SamlNameIdentifierClaimResource.cs
- SHA384.cs
- TextRunCacheImp.cs
- FormViewInsertedEventArgs.cs
- OutOfMemoryException.cs
- LocalServiceSecuritySettings.cs
- LineGeometry.cs
- RuntimeHelpers.cs
- HeaderedContentControl.cs
- ChildTable.cs
- SplineKeyFrames.cs
- ScriptingRoleServiceSection.cs
- DbParameterHelper.cs
- SatelliteContractVersionAttribute.cs
- StyleSheet.cs
- CodeSnippetExpression.cs
- Imaging.cs
- GridEntryCollection.cs
- InvokeWebServiceDesigner.cs
- TextBoxRenderer.cs
- SqlTriggerContext.cs
- FormatStringEditor.cs
- MsmqInputChannelBase.cs
- DispatcherExceptionFilterEventArgs.cs
- CapabilitiesPattern.cs
- SqlNodeAnnotations.cs