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
- RangeValueProviderWrapper.cs
- QualifiedCellIdBoolean.cs
- Constraint.cs
- FigureParaClient.cs
- XmlAtomicValue.cs
- HelpKeywordAttribute.cs
- SingleKeyFrameCollection.cs
- ServiceModelSectionGroup.cs
- TemplateInstanceAttribute.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DataSourceXmlAttributeAttribute.cs
- DecoderBestFitFallback.cs
- DataGridTableCollection.cs
- DescendantBaseQuery.cs
- contentDescriptor.cs
- WebDescriptionAttribute.cs
- ResourceType.cs
- DES.cs
- TimelineClockCollection.cs
- BuildManager.cs
- xml.cs
- HttpCookiesSection.cs
- Parser.cs
- CmsInterop.cs
- PersonalizationAdministration.cs
- SizeChangedEventArgs.cs
- ReadOnlyMetadataCollection.cs
- AspNetSynchronizationContext.cs
- CqlErrorHelper.cs
- HttpListenerRequest.cs
- Compiler.cs
- NamespaceQuery.cs
- Schema.cs
- HebrewCalendar.cs
- ViewValidator.cs
- SecurityTokenAuthenticator.cs
- HttpListenerException.cs
- TerminateSequenceResponse.cs
- ActionMessageFilter.cs
- DurationConverter.cs
- DrawingBrush.cs
- PackageDigitalSignatureManager.cs
- _PooledStream.cs
- CacheVirtualItemsEvent.cs
- IntegrationExceptionEventArgs.cs
- LoginName.cs
- WebBrowserUriTypeConverter.cs
- ColorContext.cs
- ApplicationInterop.cs
- TcpConnectionPoolSettings.cs
- ScrollableControl.cs
- OrElse.cs
- FixUp.cs
- RegistryDataKey.cs
- DiagnosticTrace.cs
- QilStrConcatenator.cs
- EntityProxyFactory.cs
- ValueSerializerAttribute.cs
- UniqueEventHelper.cs
- StylusPointProperties.cs
- SerialReceived.cs
- ServiceX509SecurityTokenProvider.cs
- RegularExpressionValidator.cs
- ExpressionTable.cs
- recordstatefactory.cs
- SystemResourceKey.cs
- ResourcesChangeInfo.cs
- SystemInfo.cs
- PnrpPermission.cs
- TextDecoration.cs
- ActionFrame.cs
- ObjectDataSourceStatusEventArgs.cs
- CanonicalizationDriver.cs
- UnsupportedPolicyOptionsException.cs
- SiteMapNodeCollection.cs
- FormViewUpdatedEventArgs.cs
- ExponentialEase.cs
- DesignerAdapterUtil.cs
- UserControl.cs
- SoapReflector.cs
- ListContractAdapter.cs
- HtmlInputText.cs
- PropertyCondition.cs
- RunWorkerCompletedEventArgs.cs
- View.cs
- SmiConnection.cs
- GlobalizationAssembly.cs
- CodeExpressionStatement.cs
- DispatcherSynchronizationContext.cs
- GridViewHeaderRowPresenter.cs
- MessageBox.cs
- DataObjectSettingDataEventArgs.cs
- SafeNativeMethods.cs
- ListBoxItemAutomationPeer.cs
- XmlSchemaSequence.cs
- HttpCapabilitiesSectionHandler.cs
- DataGridColumn.cs
- TextRange.cs
- SynchronizationContext.cs
- ApplicationSecurityInfo.cs