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
- followingsibling.cs
- RequestValidator.cs
- DiscardableAttribute.cs
- XmlCustomFormatter.cs
- HashMembershipCondition.cs
- XPathNavigatorKeyComparer.cs
- DataRelation.cs
- DesignerAttributeInfo.cs
- COM2PropertyDescriptor.cs
- AppDomainCompilerProxy.cs
- DataControlField.cs
- HuffCodec.cs
- XmlWrappingWriter.cs
- SubtreeProcessor.cs
- QilLiteral.cs
- ProxyGenerationError.cs
- HtmlTextBoxAdapter.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ExpressionList.cs
- DragCompletedEventArgs.cs
- SBCSCodePageEncoding.cs
- XslCompiledTransform.cs
- OAVariantLib.cs
- CheckBoxField.cs
- ContainerVisual.cs
- XmlSchemaAnyAttribute.cs
- OdbcHandle.cs
- ParameterBuilder.cs
- FrameworkElementFactory.cs
- BooleanExpr.cs
- KeyEvent.cs
- CatalogPartDesigner.cs
- XmlNavigatorFilter.cs
- DropTarget.cs
- Pair.cs
- BeginStoryboard.cs
- QueryContext.cs
- Hashtable.cs
- DataPagerField.cs
- DocumentViewer.cs
- CriticalFinalizerObject.cs
- DmlSqlGenerator.cs
- SerializationEventsCache.cs
- InstanceOwner.cs
- __FastResourceComparer.cs
- InkCanvas.cs
- EntitySetDataBindingList.cs
- WinFormsSecurity.cs
- SqlDataSourceView.cs
- FormViewAutoFormat.cs
- CryptoHelper.cs
- OptimizerPatterns.cs
- RuleSettings.cs
- DocumentSchemaValidator.cs
- ThreadPool.cs
- ByteFacetDescriptionElement.cs
- BaseValidator.cs
- TraceSwitch.cs
- SettingsPropertyCollection.cs
- BinHexEncoding.cs
- HideDisabledControlAdapter.cs
- UDPClient.cs
- BitmapSizeOptions.cs
- HtmlImage.cs
- TabletDevice.cs
- VariableAction.cs
- TransportSecurityProtocolFactory.cs
- DecoderFallbackWithFailureFlag.cs
- HttpCapabilitiesEvaluator.cs
- XsdBuilder.cs
- XmlHierarchyData.cs
- DataReceivedEventArgs.cs
- DataSourceViewSchemaConverter.cs
- StylusPointDescription.cs
- BodyGlyph.cs
- OptimalBreakSession.cs
- XmlSchemaAttributeGroup.cs
- ReliableMessagingHelpers.cs
- AdapterDictionary.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ListSortDescriptionCollection.cs
- KeyFrames.cs
- MenuItemCollectionEditor.cs
- OracleConnectionString.cs
- XmlUtil.cs
- BindableTemplateBuilder.cs
- DataGridViewAdvancedBorderStyle.cs
- Transactions.cs
- Polygon.cs
- ScriptModule.cs
- BaseDataBoundControl.cs
- EventMappingSettingsCollection.cs
- SelectedPathEditor.cs
- MarshalDirectiveException.cs
- DragDrop.cs
- XmlBinaryReaderSession.cs
- MD5CryptoServiceProvider.cs
- ListenerSessionConnection.cs
- QilLoop.cs
- TimeSpanValidator.cs