Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / CommandTrees / DbModificationCommandTree.cs / 1305376 / DbModificationCommandTree.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees.Internal; using System.Data.Common.Utils; using System.Linq; namespace System.Data.Common.CommandTrees { ////// Represents a DML operation expressed as a canonical command tree /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")] public abstract class DbModificationCommandTree : DbCommandTree { private readonly DbExpressionBinding _target; private System.Collections.ObjectModel.ReadOnlyCollection_parameters; internal DbModificationCommandTree(MetadataWorkspace metadata, DataSpace dataSpace, DbExpressionBinding target) : base(metadata, dataSpace) { EntityUtil.CheckArgumentNull(target, "target"); this._target = target; } /// /// Gets the public DbExpressionBinding Target { get { return _target; } } ///that specifies the target table for the DML operation. /// /// Returns true if this modification command returns a reader (for instance, to return server generated values) /// internal abstract bool HasReader { get; } internal override IEnumerable> GetParameters() { if (this._parameters == null) { this._parameters = ParameterRetriever.GetParameters(this); } return this._parameters.Select(p => new KeyValuePair (p.ParameterName, p.ResultType)); } internal override void DumpStructure(ExpressionDumper dumper) { if (this.Target != null) { dumper.Dump(this.Target, "Target"); } } } } // 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
- RegexCode.cs
- GPRECT.cs
- Typeface.cs
- CharAnimationUsingKeyFrames.cs
- DoubleCollection.cs
- ImportedNamespaceContextItem.cs
- DocumentViewerHelper.cs
- InputBindingCollection.cs
- NameTable.cs
- CatalogPartCollection.cs
- PieceDirectory.cs
- UnsignedPublishLicense.cs
- RequestCachePolicyConverter.cs
- TrackingProfile.cs
- DataGridViewAdvancedBorderStyle.cs
- InstanceContextMode.cs
- TransportElement.cs
- AddressAlreadyInUseException.cs
- BitVector32.cs
- ApplicationSecurityManager.cs
- Authorization.cs
- BindingList.cs
- UIntPtr.cs
- DefinitionUpdate.cs
- BitmapEffectDrawingContent.cs
- XmlSchemaInfo.cs
- ForwardPositionQuery.cs
- ConnectionStringSettingsCollection.cs
- ipaddressinformationcollection.cs
- HandlerBase.cs
- EtwTrace.cs
- SctClaimDictionary.cs
- NameHandler.cs
- PartManifestEntry.cs
- Scheduler.cs
- EntityCommandDefinition.cs
- XmlQueryOutput.cs
- ByteStack.cs
- FunctionCommandText.cs
- Parameter.cs
- XmlSiteMapProvider.cs
- SettingsSection.cs
- ObjectStateManager.cs
- MaskedTextProvider.cs
- OptionalColumn.cs
- KnownTypes.cs
- RemoteWebConfigurationHost.cs
- LineInfo.cs
- ScaleTransform3D.cs
- CurrencyWrapper.cs
- PlainXmlSerializer.cs
- SqlClientWrapperSmiStream.cs
- AutomationInteropProvider.cs
- dataobject.cs
- SelectorItemAutomationPeer.cs
- StrokeIntersection.cs
- TextAdaptor.cs
- CodeGenHelper.cs
- ChannelSinkStacks.cs
- mansign.cs
- PropertyIDSet.cs
- ShaderEffect.cs
- InputScope.cs
- DataFieldConverter.cs
- GenericParameterDataContract.cs
- GridToolTip.cs
- WebException.cs
- PostBackTrigger.cs
- XmlJsonWriter.cs
- WeakKeyDictionary.cs
- SqlCaseSimplifier.cs
- NamespaceMapping.cs
- securitycriticaldataClass.cs
- ToolStripPanelRenderEventArgs.cs
- TextRangeBase.cs
- hresults.cs
- AbsoluteQuery.cs
- QuotedStringFormatReader.cs
- SoapExtension.cs
- DefaultEvaluationContext.cs
- LineMetrics.cs
- HandlerBase.cs
- WindowProviderWrapper.cs
- Underline.cs
- ControlPropertyNameConverter.cs
- CharAnimationBase.cs
- PocoEntityKeyStrategy.cs
- infer.cs
- EnumerationRangeValidationUtil.cs
- SQLCharsStorage.cs
- XmlSchemaParticle.cs
- DrawingContextWalker.cs
- FixedNode.cs
- RawStylusInputReport.cs
- ClientSettings.cs
- CellTreeNode.cs
- isolationinterop.cs
- SamlAttributeStatement.cs
- RijndaelManaged.cs
- RankException.cs