Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Query / PlanCompiler / CommandPlan.cs / 1 / 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
- GeneralTransform3D.cs
- TextCollapsingProperties.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TransformValueSerializer.cs
- SystemDropShadowChrome.cs
- StreamUpgradeProvider.cs
- ExtensibleClassFactory.cs
- NoPersistProperty.cs
- NeutralResourcesLanguageAttribute.cs
- MissingMemberException.cs
- ModelItemDictionaryImpl.cs
- DirectoryNotFoundException.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DataTableNewRowEvent.cs
- Double.cs
- OpCodes.cs
- HistoryEventArgs.cs
- ObjectCloneHelper.cs
- ProfilePropertySettings.cs
- DesignerUtility.cs
- SqlConnectionHelper.cs
- InvokeProviderWrapper.cs
- PersonalizationStateInfo.cs
- SectionUpdates.cs
- DefaultPrintController.cs
- Transform3DGroup.cs
- SqlMethodCallConverter.cs
- StringArrayConverter.cs
- webbrowsersite.cs
- X509Utils.cs
- SimpleWebHandlerParser.cs
- RedistVersionInfo.cs
- DataSourceSelectArguments.cs
- QueryOutputWriter.cs
- ConfigXmlCDataSection.cs
- SafeSecurityHandles.cs
- ExpressionVisitor.cs
- BrowserCapabilitiesFactoryBase.cs
- _NegotiateClient.cs
- HitTestWithGeometryDrawingContextWalker.cs
- GcHandle.cs
- DbDataAdapter.cs
- ContentElement.cs
- ListViewSortEventArgs.cs
- TrackingConditionCollection.cs
- CompilerError.cs
- XPathSelectionIterator.cs
- InsufficientMemoryException.cs
- WebPartEventArgs.cs
- OrderingExpression.cs
- ScriptReferenceBase.cs
- LayoutExceptionEventArgs.cs
- DrawingImage.cs
- MatrixStack.cs
- ExpressionBinding.cs
- NamespaceEmitter.cs
- MouseActionConverter.cs
- RelatedImageListAttribute.cs
- SqlAliasesReferenced.cs
- ServiceElementCollection.cs
- RequestResizeEvent.cs
- DataServiceQueryProvider.cs
- JournalNavigationScope.cs
- PlanCompiler.cs
- TypeGenericEnumerableViewSchema.cs
- ClientTarget.cs
- PermissionRequestEvidence.cs
- ArcSegment.cs
- ReadWriteObjectLock.cs
- basecomparevalidator.cs
- TextParagraphView.cs
- HierarchicalDataBoundControlAdapter.cs
- DirectoryObjectSecurity.cs
- ItemsControlAutomationPeer.cs
- Touch.cs
- EncodingInfo.cs
- XmlHierarchicalDataSourceView.cs
- VisualTarget.cs
- TextRangeProviderWrapper.cs
- TableAutomationPeer.cs
- WebServiceErrorEvent.cs
- OverrideMode.cs
- XpsSerializerFactory.cs
- WindowsUpDown.cs
- EntityDataSourceViewSchema.cs
- LinearKeyFrames.cs
- NameService.cs
- EntitySqlQueryCacheKey.cs
- WebPartsPersonalizationAuthorization.cs
- DelegateBodyWriter.cs
- XhtmlBasicObjectListAdapter.cs
- FormView.cs
- PageCodeDomTreeGenerator.cs
- ImageFormatConverter.cs
- PackWebRequestFactory.cs
- StyleCollection.cs
- unsafeIndexingFilterStream.cs
- PersianCalendar.cs
- TrustSection.cs
- SQLInt64.cs