Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ServiceNameCollection.cs
- PixelFormats.cs
- SqlStatistics.cs
- HyperLinkField.cs
- DataGridViewToolTip.cs
- COAUTHINFO.cs
- SafeThemeHandle.cs
- WhileDesigner.xaml.cs
- GACIdentityPermission.cs
- XmlSerializationGeneratedCode.cs
- ObjectDataSourceEventArgs.cs
- LogSwitch.cs
- SymLanguageType.cs
- FixedSOMPageConstructor.cs
- TextElement.cs
- QuadTree.cs
- DateTimePicker.cs
- PointUtil.cs
- Size.cs
- DataGridItemCollection.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- XpsFontSerializationService.cs
- ErrorLog.cs
- CodeArrayCreateExpression.cs
- ParameterBinding.cs
- ColumnPropertiesGroup.cs
- TemplateBuilder.cs
- BatchParser.cs
- DateTimeConstantAttribute.cs
- Profiler.cs
- CompositeScriptReferenceEventArgs.cs
- SafeCoTaskMem.cs
- FontWeights.cs
- XmlTextReaderImplHelpers.cs
- basemetadatamappingvisitor.cs
- ListViewTableRow.cs
- CloseSequence.cs
- InstanceCreationEditor.cs
- ModelVisual3D.cs
- DataFieldConverter.cs
- UpdateExpressionVisitor.cs
- RegexRunner.cs
- Verify.cs
- XmlCharType.cs
- WindowsScrollBar.cs
- BaseTemplateBuildProvider.cs
- BoundField.cs
- MultiView.cs
- UserControl.cs
- CopyAttributesAction.cs
- CqlLexerHelpers.cs
- UnrecognizedPolicyAssertionElement.cs
- RuntimeUtils.cs
- ConfigurationElement.cs
- SafeMILHandle.cs
- Cursor.cs
- ObjectItemAssemblyLoader.cs
- SqlRewriteScalarSubqueries.cs
- SqlComparer.cs
- DesignerView.cs
- BulletedList.cs
- NativeMethods.cs
- WebBrowser.cs
- Behavior.cs
- CheckBoxPopupAdapter.cs
- HandlerBase.cs
- DataTableReaderListener.cs
- TreeViewDesigner.cs
- AdRotatorDesigner.cs
- HttpPostedFile.cs
- HttpClientCredentialType.cs
- SmtpReplyReaderFactory.cs
- DataSourceExpressionCollection.cs
- IConvertible.cs
- PrintController.cs
- RenderCapability.cs
- DataListItemEventArgs.cs
- DeferrableContentConverter.cs
- WorkflowInstanceAbortedRecord.cs
- DrawingContextWalker.cs
- Utility.cs
- FormViewRow.cs
- BidOverLoads.cs
- TextRangeAdaptor.cs
- CopyCodeAction.cs
- AlignmentYValidation.cs
- NullRuntimeConfig.cs
- DataPagerFieldCollection.cs
- dsa.cs
- MergeFailedEvent.cs
- ScrollBarAutomationPeer.cs
- ListBoxItem.cs
- ProcessHostMapPath.cs
- ArrayElementGridEntry.cs
- ColumnPropertiesGroup.cs
- PolicyManager.cs
- TemplatePropertyEntry.cs
- BamlLocalizer.cs
- RestClientProxyHandler.cs
- TargetFrameworkUtil.cs