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
- SettingsPropertyValueCollection.cs
- GridItemPatternIdentifiers.cs
- EdmPropertyAttribute.cs
- ExpressionPrefixAttribute.cs
- HttpApplicationFactory.cs
- MouseGesture.cs
- GeneralTransform3DCollection.cs
- ZoneLinkButton.cs
- SQLResource.cs
- ClientBuildManagerCallback.cs
- HttpHandlerAction.cs
- PTManager.cs
- Mapping.cs
- IsolatedStorageFile.cs
- ProviderUtil.cs
- FileSystemWatcher.cs
- IsolationInterop.cs
- DocumentCollection.cs
- ProtectedConfigurationProviderCollection.cs
- FormsAuthenticationConfiguration.cs
- __ConsoleStream.cs
- TypeGenericEnumerableViewSchema.cs
- SqlLiftIndependentRowExpressions.cs
- XslCompiledTransform.cs
- InkCanvasInnerCanvas.cs
- FontInfo.cs
- ScaleTransform.cs
- OutputCacheModule.cs
- NamedPipeActivation.cs
- ToolZone.cs
- DataException.cs
- AliasGenerator.cs
- HtmlAnchor.cs
- DateTimeOffset.cs
- DateTimeFormatInfo.cs
- MediaTimeline.cs
- TabControlCancelEvent.cs
- OracleBFile.cs
- XmlQueryContext.cs
- SID.cs
- ContextMenuAutomationPeer.cs
- IBuiltInEvidence.cs
- ActivityDefaults.cs
- DataRelationPropertyDescriptor.cs
- SafeProcessHandle.cs
- RegexMatch.cs
- StyleModeStack.cs
- IBuiltInEvidence.cs
- cryptoapiTransform.cs
- GlyphsSerializer.cs
- OdbcConnectionStringbuilder.cs
- CrossSiteScriptingValidation.cs
- MsmqIntegrationBindingCollectionElement.cs
- ListenerConstants.cs
- BindingGroup.cs
- ApplicationBuildProvider.cs
- Label.cs
- ControlUtil.cs
- UnsafeNativeMethods.cs
- WorkflowInspectionServices.cs
- HostVisual.cs
- FilterEventArgs.cs
- ToolBar.cs
- MemoryRecordBuffer.cs
- SQLBinaryStorage.cs
- PeerName.cs
- TableChangeProcessor.cs
- ConditionCollection.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- Size.cs
- path.cs
- CqlErrorHelper.cs
- XmlSchemaSimpleContentExtension.cs
- XsdValidatingReader.cs
- DesignerObject.cs
- CustomValidator.cs
- RefreshEventArgs.cs
- UseLicense.cs
- DataServiceQuery.cs
- StringExpressionSet.cs
- Publisher.cs
- IERequestCache.cs
- ProcessInputEventArgs.cs
- PenLineCapValidation.cs
- TCEAdapterGenerator.cs
- SymbolMethod.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SchemaDeclBase.cs
- Imaging.cs
- Exceptions.cs
- RowToParametersTransformer.cs
- ipaddressinformationcollection.cs
- ReferencedType.cs
- ResourceKey.cs
- RequestCacheValidator.cs
- RadioButtonList.cs
- FormatterServices.cs
- AllMembershipCondition.cs
- IndentedWriter.cs
- ApplyImportsAction.cs