Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 2 / 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
- ParentQuery.cs
- MsmqIntegrationBindingElement.cs
- IntegerValidator.cs
- ForwardPositionQuery.cs
- XPathItem.cs
- Converter.cs
- EntityViewGenerator.cs
- EntityConnectionStringBuilder.cs
- OverflowException.cs
- InputLanguageEventArgs.cs
- ViewCellRelation.cs
- NetMsmqSecurity.cs
- AutoScrollExpandMessageFilter.cs
- SchemaNotation.cs
- XsdBuildProvider.cs
- TimeEnumHelper.cs
- GiveFeedbackEvent.cs
- NotConverter.cs
- CapabilitiesUse.cs
- LinkLabel.cs
- TimeoutTimer.cs
- ScopeElementCollection.cs
- WindowsListView.cs
- ItemContainerPattern.cs
- SharedPerformanceCounter.cs
- EmptyWithCancelationCheckWorkItem.cs
- UInt32.cs
- MsmqException.cs
- ConnectionPoint.cs
- IndexedString.cs
- Shape.cs
- FileDialogCustomPlace.cs
- InternalConfigRoot.cs
- ListViewDeleteEventArgs.cs
- ResolveCriteria.cs
- Module.cs
- HttpPostClientProtocol.cs
- DataGridViewAccessibleObject.cs
- PickDesigner.xaml.cs
- SuppressMergeCheckAttribute.cs
- AsyncOperationManager.cs
- WorkflowQueuingService.cs
- AutoResetEvent.cs
- XPathExpr.cs
- SafeRightsManagementEnvironmentHandle.cs
- AuthenticateEventArgs.cs
- X509ChainElement.cs
- ConnectionManagementElementCollection.cs
- ConfigXmlWhitespace.cs
- AsyncResult.cs
- XmlSchemaDatatype.cs
- XmlFileEditor.cs
- MethodBuilder.cs
- SQLDecimal.cs
- FlowDocumentPaginator.cs
- PagePropertiesChangingEventArgs.cs
- ConnectionConsumerAttribute.cs
- recordstate.cs
- MsmqInputSessionChannelListener.cs
- WorkBatch.cs
- BuiltInExpr.cs
- IntSecurity.cs
- RankException.cs
- ActivityExecutionContext.cs
- ByValueEqualityComparer.cs
- ColumnTypeConverter.cs
- DefaultPropertyAttribute.cs
- StateChangeEvent.cs
- XsdDataContractExporter.cs
- TypefaceMetricsCache.cs
- DataFieldConverter.cs
- RemoteArgument.cs
- XmlSiteMapProvider.cs
- NativeObjectSecurity.cs
- ScrollProviderWrapper.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- SettingsAttributes.cs
- ZipIORawDataFileBlock.cs
- SafeEventLogWriteHandle.cs
- DataServiceClientException.cs
- Matrix3D.cs
- DataColumnPropertyDescriptor.cs
- EnumValAlphaComparer.cs
- AttachmentCollection.cs
- DrawingContext.cs
- AsyncStreamReader.cs
- DivideByZeroException.cs
- FixedSOMFixedBlock.cs
- EmptyEnumerator.cs
- StrongNameIdentityPermission.cs
- RijndaelManaged.cs
- Attributes.cs
- Constraint.cs
- GenerateHelper.cs
- XmlWrappingReader.cs
- SrgsRule.cs
- GlyphsSerializer.cs
- ClientBase.cs
- ToolboxBitmapAttribute.cs
- ProviderCommandInfoUtils.cs