Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- MultipleCopiesCollection.cs
- SplitContainer.cs
- OdbcConnection.cs
- ShaperBuffers.cs
- Transform.cs
- EditorPartCollection.cs
- OutputCacheProfileCollection.cs
- HostVisual.cs
- ConfigurationElementProperty.cs
- HttpContextWrapper.cs
- PersonalizableAttribute.cs
- StylusSystemGestureEventArgs.cs
- MenuRendererStandards.cs
- Normalization.cs
- TraceSwitch.cs
- ReferenceConverter.cs
- SecurityPolicySection.cs
- Errors.cs
- TextDpi.cs
- ObjectViewQueryResultData.cs
- StylusSystemGestureEventArgs.cs
- CreateParams.cs
- ProtocolsInstallComponent.cs
- DynamicUpdateCommand.cs
- BaseResourcesBuildProvider.cs
- connectionpool.cs
- HtmlTableCellCollection.cs
- DependencyPropertyHelper.cs
- InternalBufferManager.cs
- GroupBoxAutomationPeer.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- ComboBoxItem.cs
- Asn1IntegerConverter.cs
- PrinterUnitConvert.cs
- SourceElementsCollection.cs
- QuotedPrintableStream.cs
- Panel.cs
- EntityCodeGenerator.cs
- SpeakCompletedEventArgs.cs
- Table.cs
- OperationPerformanceCounters.cs
- MemberPath.cs
- DecoratedNameAttribute.cs
- ThrowHelper.cs
- RtfToXamlReader.cs
- TrustManager.cs
- DBCSCodePageEncoding.cs
- __ConsoleStream.cs
- DataServiceHostFactory.cs
- XsltArgumentList.cs
- XmlSchemaDocumentation.cs
- MenuItem.cs
- CompositeActivityTypeDescriptor.cs
- XmlCharCheckingReader.cs
- DataService.cs
- ActiveDocumentEvent.cs
- ToolStripItem.cs
- ObjectSet.cs
- DataGridViewSelectedRowCollection.cs
- PasswordRecoveryAutoFormat.cs
- StringComparer.cs
- PerfCounterSection.cs
- LookupTables.cs
- IQueryable.cs
- PropertyEntry.cs
- TextTreeUndo.cs
- ColumnCollection.cs
- ListParagraph.cs
- FilteredSchemaElementLookUpTable.cs
- CacheMemory.cs
- XPathBuilder.cs
- ColumnMapCopier.cs
- CommandBindingCollection.cs
- EntityDataSourceContainerNameConverter.cs
- StorageEntityContainerMapping.cs
- ButtonFlatAdapter.cs
- ItemCollection.cs
- OutputCache.cs
- XmlEncoding.cs
- IPGlobalProperties.cs
- sqlmetadatafactory.cs
- TextRangeSerialization.cs
- sqlcontext.cs
- PreservationFileWriter.cs
- Group.cs
- BezierSegment.cs
- SetterBaseCollection.cs
- ExtractedStateEntry.cs
- Atom10FormatterFactory.cs
- GridViewHeaderRowPresenter.cs
- NotifyIcon.cs
- ResourceManagerWrapper.cs
- Visual3DCollection.cs
- DataViewListener.cs
- WindowsTooltip.cs
- ColorPalette.cs
- TimeManager.cs
- RangeContentEnumerator.cs
- ProcessManager.cs