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
- DataRelationPropertyDescriptor.cs
- Constraint.cs
- PropertyPath.cs
- DateTimeConstantAttribute.cs
- ConstraintEnumerator.cs
- LoginDesignerUtil.cs
- DefaultMemberAttribute.cs
- BuiltInExpr.cs
- DbExpressionVisitor.cs
- KeyGestureValueSerializer.cs
- ValidationErrorCollection.cs
- CodeDOMUtility.cs
- DbProviderFactories.cs
- DataBinder.cs
- DrawListViewColumnHeaderEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- PrintPageEvent.cs
- StringArrayConverter.cs
- _PooledStream.cs
- UnsafeNativeMethodsPenimc.cs
- RadioButton.cs
- regiisutil.cs
- URLMembershipCondition.cs
- TableLayoutStyle.cs
- InteropBitmapSource.cs
- IdentityReference.cs
- FilterableAttribute.cs
- VersionPair.cs
- HttpCapabilitiesBase.cs
- EventWaitHandle.cs
- PartialCachingControl.cs
- XmlElementAttribute.cs
- ColumnReorderedEventArgs.cs
- FontFamilyIdentifier.cs
- SpecularMaterial.cs
- Token.cs
- TrackBar.cs
- ManipulationPivot.cs
- TimelineClockCollection.cs
- LassoHelper.cs
- ContractMapping.cs
- SiteMapNodeItem.cs
- CodeTypeReferenceExpression.cs
- OutputCacheSettingsSection.cs
- MulticastOption.cs
- ProviderSettings.cs
- ReadOnlyDictionary.cs
- CompilerTypeWithParams.cs
- FontCollection.cs
- CompositeDesignerAccessibleObject.cs
- SchemaImporterExtensionElementCollection.cs
- PlatformNotSupportedException.cs
- ObjectDataSourceStatusEventArgs.cs
- DataGridParentRows.cs
- SystemIcons.cs
- ZipIOFileItemStream.cs
- NamedPipeHostedTransportConfiguration.cs
- SmiConnection.cs
- SqlParameter.cs
- X509Utils.cs
- _AutoWebProxyScriptWrapper.cs
- IPAddress.cs
- ListViewItemEventArgs.cs
- RemotingServices.cs
- XamlToRtfParser.cs
- Substitution.cs
- MatchingStyle.cs
- SeparatorAutomationPeer.cs
- SafeCryptContextHandle.cs
- NativeMethods.cs
- NoClickablePointException.cs
- OleDbTransaction.cs
- DiscoveryMessageProperty.cs
- SqlWriter.cs
- InvokePatternIdentifiers.cs
- IdentityManager.cs
- DesignerHierarchicalDataSourceView.cs
- HtmlInputCheckBox.cs
- PrefixHandle.cs
- SafeLocalMemHandle.cs
- ColumnResizeUndoUnit.cs
- ConstraintStruct.cs
- ExpandableObjectConverter.cs
- ResolveDuplexAsyncResult.cs
- OLEDB_Util.cs
- SevenBitStream.cs
- XdrBuilder.cs
- WindowsTab.cs
- CodeGotoStatement.cs
- PasswordPropertyTextAttribute.cs
- ViewUtilities.cs
- DBCommand.cs
- UnaryQueryOperator.cs
- HandleCollector.cs
- TreeNodeEventArgs.cs
- TdsParserHelperClasses.cs
- MediaSystem.cs
- OdbcEnvironmentHandle.cs
- NotifyParentPropertyAttribute.cs
- ObjectSecurity.cs