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
- GroupQuery.cs
- OrCondition.cs
- Debugger.cs
- TextEditorLists.cs
- RelationshipType.cs
- ReadContentAsBinaryHelper.cs
- keycontainerpermission.cs
- EdmScalarPropertyAttribute.cs
- ObjectList.cs
- UriTemplateCompoundPathSegment.cs
- StoreAnnotationsMap.cs
- AdvancedBindingPropertyDescriptor.cs
- XmlSerializationWriter.cs
- SortedList.cs
- ObjectNavigationPropertyMapping.cs
- IDictionary.cs
- PathGradientBrush.cs
- VerificationException.cs
- DynamicUpdateCommand.cs
- ResourcesGenerator.cs
- Int16AnimationBase.cs
- StagingAreaInputItem.cs
- CharacterBufferReference.cs
- ImageMapEventArgs.cs
- OAVariantLib.cs
- PermissionSet.cs
- StateItem.cs
- HttpListenerPrefixCollection.cs
- TrackingMemoryStreamFactory.cs
- LogicalTreeHelper.cs
- InProcStateClientManager.cs
- WebPartsPersonalizationAuthorization.cs
- MonikerUtility.cs
- ArgumentOutOfRangeException.cs
- StrongNameMembershipCondition.cs
- Attributes.cs
- EntitySqlQueryBuilder.cs
- ExtenderControl.cs
- WorkflowServiceBuildProvider.cs
- ContextInformation.cs
- ExtendedProtectionPolicy.cs
- HScrollBar.cs
- WebPartAddingEventArgs.cs
- XmlTextReaderImplHelpers.cs
- DataViewSetting.cs
- ToolStripGripRenderEventArgs.cs
- MouseWheelEventArgs.cs
- ColorMap.cs
- PageCatalogPart.cs
- XmlBindingWorker.cs
- XmlFormatExtensionAttribute.cs
- ReferenceEqualityComparer.cs
- IndentTextWriter.cs
- DispatcherExceptionEventArgs.cs
- HGlobalSafeHandle.cs
- Condition.cs
- DataContractSerializerOperationFormatter.cs
- RuntimeHandles.cs
- ImageClickEventArgs.cs
- TagNameToTypeMapper.cs
- IdnElement.cs
- AsyncPostBackTrigger.cs
- HttpListenerPrefixCollection.cs
- EnumerableCollectionView.cs
- StopStoryboard.cs
- ProtocolInformationWriter.cs
- CodeDOMProvider.cs
- DebugController.cs
- HtmlInputButton.cs
- StateWorkerRequest.cs
- StringKeyFrameCollection.cs
- CheckBox.cs
- ConfigsHelper.cs
- lengthconverter.cs
- safemediahandle.cs
- DbConnectionStringCommon.cs
- FullTextState.cs
- WindowsListView.cs
- NativeMethods.cs
- ToolStripLocationCancelEventArgs.cs
- Link.cs
- ContentPresenter.cs
- _KerberosClient.cs
- HashCodeCombiner.cs
- MethodCallExpression.cs
- safesecurityhelperavalon.cs
- NativeMethods.cs
- SynchronizationContext.cs
- XslNumber.cs
- XmlElement.cs
- DesignerView.xaml.cs
- SoapSchemaExporter.cs
- ConfigurationCollectionAttribute.cs
- MultipleViewPattern.cs
- ApplicationException.cs
- CacheHelper.cs
- FileLevelControlBuilderAttribute.cs
- TransformGroup.cs
- cookieexception.cs
- webeventbuffer.cs