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
- ValidationManager.cs
- COM2Properties.cs
- ETagAttribute.cs
- ConvertEvent.cs
- TranslateTransform3D.cs
- TabItemAutomationPeer.cs
- ObjectReferenceStack.cs
- SslStreamSecurityElement.cs
- StrokeNodeOperations.cs
- Stylesheet.cs
- AssemblySettingAttributes.cs
- PiiTraceSource.cs
- EncodingInfo.cs
- PagesChangedEventArgs.cs
- LinkClickEvent.cs
- SmtpMail.cs
- StringPropertyBuilder.cs
- InvalidOperationException.cs
- DivideByZeroException.cs
- ListBoxChrome.cs
- SessionIDManager.cs
- PhoneCallDesigner.cs
- WebServiceFault.cs
- NameValueConfigurationElement.cs
- ExpanderAutomationPeer.cs
- MultiBindingExpression.cs
- SafeRegistryHandle.cs
- DataBoundControlHelper.cs
- ChangeBlockUndoRecord.cs
- Misc.cs
- ButtonChrome.cs
- RuleSettingsCollection.cs
- TreeIterators.cs
- OdbcRowUpdatingEvent.cs
- SingleTagSectionHandler.cs
- MatrixTransform3D.cs
- BamlVersionHeader.cs
- ItemMap.cs
- EntityDataSourceWrapper.cs
- QueryStringParameter.cs
- SqlProfileProvider.cs
- TypeInitializationException.cs
- HwndStylusInputProvider.cs
- ResourceReader.cs
- UrlPropertyAttribute.cs
- Serializer.cs
- FileUtil.cs
- wgx_sdk_version.cs
- BlockCollection.cs
- BufferBuilder.cs
- XmlNavigatorFilter.cs
- CacheDependency.cs
- ObjectView.cs
- SafeLibraryHandle.cs
- CryptoApi.cs
- COM2ICategorizePropertiesHandler.cs
- ProgressBarBrushConverter.cs
- MultilineStringConverter.cs
- WorkflowMarkupSerializer.cs
- ConnectionPoint.cs
- CharEntityEncoderFallback.cs
- DesignerWidgets.cs
- Normalizer.cs
- DBCommand.cs
- Camera.cs
- ScaleTransform3D.cs
- GlyphTypeface.cs
- ExpressionBuilder.cs
- XmlSchemaObjectCollection.cs
- TextServicesHost.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- VScrollProperties.cs
- Compensation.cs
- SafeArrayTypeMismatchException.cs
- ListViewGroupConverter.cs
- SqlConnectionFactory.cs
- FontUnitConverter.cs
- RectAnimation.cs
- TemplateColumn.cs
- SafeThreadHandle.cs
- HttpHandlersInstallComponent.cs
- TreeViewTemplateSelector.cs
- GridViewRowEventArgs.cs
- BitStream.cs
- httpserverutility.cs
- DataSourceXmlTextReader.cs
- DetailsViewRow.cs
- SelectionChangedEventArgs.cs
- ClientSettingsProvider.cs
- HtmlElementErrorEventArgs.cs
- OneToOneMappingSerializer.cs
- RootBuilder.cs
- EntityException.cs
- RemoteEndpointMessageProperty.cs
- WindowsToolbarAsMenu.cs
- AtomEntry.cs
- IisTraceListener.cs
- ObjectViewListener.cs
- UdpChannelFactory.cs
- SpellerError.cs