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
- TextViewBase.cs
- BinaryObjectWriter.cs
- PngBitmapDecoder.cs
- MimeTypeMapper.cs
- TypeUsageBuilder.cs
- Enum.cs
- RequestBringIntoViewEventArgs.cs
- TextRangeEdit.cs
- SafeViewOfFileHandle.cs
- WindowsProgressbar.cs
- FragmentNavigationEventArgs.cs
- StateMachineWorkflowDesigner.cs
- HttpBindingExtension.cs
- OrderedDictionaryStateHelper.cs
- EventWaitHandle.cs
- SqlException.cs
- MDIClient.cs
- ReflectPropertyDescriptor.cs
- BmpBitmapEncoder.cs
- Walker.cs
- HitTestWithPointDrawingContextWalker.cs
- ContentPlaceHolder.cs
- GridViewRowCollection.cs
- SQLByte.cs
- ServerProtocol.cs
- DefinitionUpdate.cs
- ContentOperations.cs
- FunctionGenerator.cs
- ReceiveActivityDesigner.cs
- HttpInputStream.cs
- EntityKeyElement.cs
- XmlRootAttribute.cs
- ResolveCriteria11.cs
- UrlPropertyAttribute.cs
- TlsnegoTokenAuthenticator.cs
- TextFormatterHost.cs
- MetricEntry.cs
- KoreanLunisolarCalendar.cs
- EncoderReplacementFallback.cs
- PasswordTextContainer.cs
- TraceUtility.cs
- TreeView.cs
- CodeComment.cs
- SchemaImporterExtensionElementCollection.cs
- PublisherIdentityPermission.cs
- Rect3D.cs
- ToolStripItemClickedEventArgs.cs
- XmlQueryOutput.cs
- ReachDocumentReferenceCollectionSerializer.cs
- MimePart.cs
- DateTimeParse.cs
- StrongNameKeyPair.cs
- While.cs
- PassportAuthenticationModule.cs
- AsyncOperationContext.cs
- CrossSiteScriptingValidation.cs
- HyperLinkField.cs
- NotifyParentPropertyAttribute.cs
- XPathDescendantIterator.cs
- TransportDefaults.cs
- HttpHandlersSection.cs
- RequestUriProcessor.cs
- QuaternionIndependentAnimationStorage.cs
- SequentialUshortCollection.cs
- SafeSystemMetrics.cs
- ReflectionUtil.cs
- OneWayChannelFactory.cs
- RoleManagerSection.cs
- TrackingStringDictionary.cs
- StructuredTypeInfo.cs
- XamlRtfConverter.cs
- ToolBarButtonClickEvent.cs
- MultiTrigger.cs
- httpapplicationstate.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- ParameterCollection.cs
- DirectoryObjectSecurity.cs
- MyContact.cs
- AnimatedTypeHelpers.cs
- listitem.cs
- ContentPosition.cs
- AssemblyAttributes.cs
- indexingfiltermarshaler.cs
- TargetFrameworkAttribute.cs
- QueryableDataSourceView.cs
- ClientFactory.cs
- WmlImageAdapter.cs
- BitmapData.cs
- CheckBoxStandardAdapter.cs
- RelationshipSet.cs
- XXXInfos.cs
- XNodeValidator.cs
- LogEntrySerializer.cs
- ManagedWndProcTracker.cs
- BrowserDefinition.cs
- EdmProviderManifest.cs
- MarkerProperties.cs
- AnnouncementSendsAsyncResult.cs
- CommentGlyph.cs
- OpenFileDialog.cs