Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 1305376 / CommandPlan.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- LinqDataSourceInsertEventArgs.cs
- WorkflowInvoker.cs
- TypeContext.cs
- LinkedResourceCollection.cs
- FontDialog.cs
- FixUp.cs
- XmlQualifiedName.cs
- DataSourceControl.cs
- FileUtil.cs
- SessionStateSection.cs
- FlowNode.cs
- DSACryptoServiceProvider.cs
- CommonProperties.cs
- GuidTagList.cs
- RequestCacheValidator.cs
- SystemIPv6InterfaceProperties.cs
- Scheduling.cs
- WebPartEventArgs.cs
- HelpHtmlBuilder.cs
- Substitution.cs
- WindowProviderWrapper.cs
- ToolboxItemAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- BehaviorDragDropEventArgs.cs
- HttpFileCollection.cs
- Model3D.cs
- Vars.cs
- FontNamesConverter.cs
- DbTransaction.cs
- ConfigXmlCDataSection.cs
- RootBuilder.cs
- _emptywebproxy.cs
- AbsoluteQuery.cs
- Compiler.cs
- TableSectionStyle.cs
- EditingCoordinator.cs
- WebErrorHandler.cs
- SqlTriggerAttribute.cs
- FlowLayout.cs
- ListViewInsertionMark.cs
- FixedSOMTable.cs
- IntMinMaxAggregationOperator.cs
- HTTPNotFoundHandler.cs
- XmlSequenceWriter.cs
- WorkflowApplicationException.cs
- AbstractSvcMapFileLoader.cs
- CompiledWorkflowDefinitionContext.cs
- SendActivityDesigner.cs
- LocationEnvironment.cs
- ConfigurationManagerInternalFactory.cs
- RtfToXamlReader.cs
- Color.cs
- Brush.cs
- ConstraintStruct.cs
- NameObjectCollectionBase.cs
- GPPOINT.cs
- UnaryQueryOperator.cs
- DbProviderConfigurationHandler.cs
- unsafenativemethodstextservices.cs
- SqlCacheDependency.cs
- UntypedNullExpression.cs
- ClientFormsIdentity.cs
- TableRow.cs
- XmlSerializerFactory.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ExplicitDiscriminatorMap.cs
- MinimizableAttributeTypeConverter.cs
- XmlNullResolver.cs
- XamlSerializer.cs
- DataGridViewComboBoxColumn.cs
- ComplexTypeEmitter.cs
- DataGridViewColumnStateChangedEventArgs.cs
- NativeObjectSecurity.cs
- DebugView.cs
- SystemDropShadowChrome.cs
- DivideByZeroException.cs
- CompatibleIComparer.cs
- ValueQuery.cs
- StandardToolWindows.cs
- TraceUtility.cs
- ExternalCalls.cs
- TextTreeUndoUnit.cs
- BehaviorService.cs
- XhtmlBasicFormAdapter.cs
- EntitySqlException.cs
- RootBrowserWindowAutomationPeer.cs
- XmlCustomFormatter.cs
- Pool.cs
- OlePropertyStructs.cs
- HeaderUtility.cs
- MimeTypeAttribute.cs
- SystemResources.cs
- EntitySetBaseCollection.cs
- LicFileLicenseProvider.cs
- ToolStripItemCollection.cs
- Table.cs
- FixUpCollection.cs
- XmlTextWriter.cs
- GridViewSortEventArgs.cs
- IgnoreDeviceFilterElementCollection.cs