Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Common / CommandTrees / DbModificationClause.cs / 3 / DbModificationClause.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....], [....]
//---------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Data.Metadata.Edm;
using System.Data.Common.CommandTrees.Internal;
using System.Data.Common.Utils;
using System.Diagnostics;
namespace System.Data.Common.CommandTrees
{
///
/// Specifies a single clause in an insert or update modification operation, see
/// and
///
///
/// An abstract base class allows the possibility of patterns other than
/// Property = Value in future versions, e.g.,
///
/// update Foo
/// set ComplexTypeColumn.Bar()
/// where Id = 2
///
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")]
public abstract class DbModificationClause
{
private DbModificationCommandTree _commandTree;
internal DbModificationClause(DbModificationCommandTree commandTree)
{
_commandTree = commandTree;
}
// Effects: creates a deep copy of this clause parented to the given DML command tree
internal abstract DbModificationClause Copy(DbModificationCommandTree newTree);
// Effects: describes the contents of this clause using the given dumper
internal abstract void DumpStructure(ExpressionDumper dumper);
// Effects: produces a tree node describing this clause, recursively producing nodes
// for child expressions using the given expression visitor
internal abstract TreeNode Print(DbExpressionVisitor visitor);
}
}
// 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.Data.Metadata.Edm;
using System.Data.Common.CommandTrees.Internal;
using System.Data.Common.Utils;
using System.Diagnostics;
namespace System.Data.Common.CommandTrees
{
///
/// Specifies a single clause in an insert or update modification operation, see
/// and
///
///
/// An abstract base class allows the possibility of patterns other than
/// Property = Value in future versions, e.g.,
///
/// update Foo
/// set ComplexTypeColumn.Bar()
/// where Id = 2
///
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")]
public abstract class DbModificationClause
{
private DbModificationCommandTree _commandTree;
internal DbModificationClause(DbModificationCommandTree commandTree)
{
_commandTree = commandTree;
}
// Effects: creates a deep copy of this clause parented to the given DML command tree
internal abstract DbModificationClause Copy(DbModificationCommandTree newTree);
// Effects: describes the contents of this clause using the given dumper
internal abstract void DumpStructure(ExpressionDumper dumper);
// Effects: produces a tree node describing this clause, recursively producing nodes
// for child expressions using the given expression visitor
internal abstract TreeNode Print(DbExpressionVisitor visitor);
}
}
// 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
- Models.cs
- GeometryGroup.cs
- AttachedPropertyDescriptor.cs
- CompositeDuplexBindingElementImporter.cs
- Label.cs
- ListMarkerLine.cs
- ContentElementAutomationPeer.cs
- ExtendedPropertiesHandler.cs
- DetailsViewUpdateEventArgs.cs
- PropertyTabAttribute.cs
- ParameterReplacerVisitor.cs
- SoapExtensionTypeElement.cs
- DependencyObjectType.cs
- TextBoxRenderer.cs
- brushes.cs
- LZCodec.cs
- PathData.cs
- RepeatButtonAutomationPeer.cs
- EndpointFilterProvider.cs
- BrowserInteropHelper.cs
- ClientScriptItemCollection.cs
- AttributeUsageAttribute.cs
- SqlUdtInfo.cs
- XmlDataDocument.cs
- XmlQueryStaticData.cs
- InfoCardXmlSerializer.cs
- DesignColumn.cs
- EntityDataSourceChangedEventArgs.cs
- XpsFilter.cs
- WebPartVerbCollection.cs
- FilterException.cs
- SuppressIldasmAttribute.cs
- EdmToObjectNamespaceMap.cs
- EncoderParameters.cs
- CaseInsensitiveOrdinalStringComparer.cs
- MarshalDirectiveException.cs
- TextViewElement.cs
- Journaling.cs
- EntityDataSourceStatementEditor.cs
- GraphicsContext.cs
- XamlReaderConstants.cs
- TypefaceCollection.cs
- SecureStringHasher.cs
- DataGridViewCellFormattingEventArgs.cs
- AnnotationMap.cs
- VirtualDirectoryMapping.cs
- XmlConverter.cs
- LineProperties.cs
- SqlFactory.cs
- DescendantBaseQuery.cs
- BufferedReceiveManager.cs
- ViewEventArgs.cs
- Expr.cs
- HashMembershipCondition.cs
- NativeWindow.cs
- TextTreePropertyUndoUnit.cs
- TraceFilter.cs
- ToolBarButton.cs
- LookupBindingPropertiesAttribute.cs
- DataStreams.cs
- NestedContainer.cs
- BamlResourceDeserializer.cs
- ErrorProvider.cs
- ListControl.cs
- DataGridBoundColumn.cs
- SafeEventLogWriteHandle.cs
- TagNameToTypeMapper.cs
- PositiveTimeSpanValidator.cs
- ToolStripDesignerUtils.cs
- MDIWindowDialog.cs
- GeometryDrawing.cs
- SQLDateTimeStorage.cs
- VariableQuery.cs
- PropertyConverter.cs
- WebPartEditorOkVerb.cs
- StaticFileHandler.cs
- TypeNameConverter.cs
- DrawingContextDrawingContextWalker.cs
- RotateTransform.cs
- DataGrid.cs
- IntranetCredentialPolicy.cs
- FileAuthorizationModule.cs
- WebPartTracker.cs
- TextEditor.cs
- sortedlist.cs
- DataGridViewUtilities.cs
- SingleSelectRootGridEntry.cs
- Resources.Designer.cs
- ObjectHelper.cs
- CustomAssemblyResolver.cs
- AnnotationResourceCollection.cs
- Package.cs
- XDRSchema.cs
- ProfilePropertySettingsCollection.cs
- InertiaTranslationBehavior.cs
- InputQueue.cs
- FirstMatchCodeGroup.cs
- ValueQuery.cs
- TimersDescriptionAttribute.cs
- CharEnumerator.cs