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 / Common / CommandTrees / DbModificationClause.cs / 1 / 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
- InkCanvasAutomationPeer.cs
- AdPostCacheSubstitution.cs
- remotingproxy.cs
- Events.cs
- TypeToken.cs
- DependencyProperty.cs
- UserNamePasswordValidator.cs
- StringReader.cs
- ToolStripContentPanel.cs
- PrintPageEvent.cs
- HtmlListAdapter.cs
- DbProviderFactory.cs
- MenuItem.cs
- PartitionResolver.cs
- LayoutTableCell.cs
- PropertyTab.cs
- InlineUIContainer.cs
- SignerInfo.cs
- GridItemPattern.cs
- DecoderBestFitFallback.cs
- HttpFileCollection.cs
- ResXDataNode.cs
- EncryptedType.cs
- WebScriptEnablingBehavior.cs
- QueryStringParameter.cs
- SafeCryptoKeyHandle.cs
- Crc32.cs
- ImageButton.cs
- StandardBindingElement.cs
- FileLoadException.cs
- StylusPointDescription.cs
- AlphabeticalEnumConverter.cs
- XmlSchemaType.cs
- OutputScope.cs
- WebEventTraceProvider.cs
- GreenMethods.cs
- ExceptionRoutedEventArgs.cs
- ManagementBaseObject.cs
- Rect3D.cs
- ActionFrame.cs
- PersonalizationState.cs
- WindowsFont.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CustomLineCap.cs
- HtmlSelect.cs
- XhtmlBasicPhoneCallAdapter.cs
- DataColumnMappingCollection.cs
- RtfToXamlLexer.cs
- XmlDictionaryString.cs
- PrimitiveDataContract.cs
- InstanceValue.cs
- ApplicationDirectory.cs
- DesignerTransaction.cs
- UserPreferenceChangedEventArgs.cs
- XmlTextAttribute.cs
- SerialPort.cs
- FrameworkElement.cs
- HandleRef.cs
- ImageCollectionCodeDomSerializer.cs
- ClientSideQueueItem.cs
- WebGetAttribute.cs
- ObservableDictionary.cs
- ZoneLinkButton.cs
- ResourceAssociationSet.cs
- InputReport.cs
- HttpContextServiceHost.cs
- PropertyNames.cs
- Manipulation.cs
- WebServicesSection.cs
- ModelPerspective.cs
- ISFClipboardData.cs
- ConditionCollection.cs
- DBSqlParserTableCollection.cs
- CodeGroup.cs
- __FastResourceComparer.cs
- HwndStylusInputProvider.cs
- TreeBuilder.cs
- COM2IPerPropertyBrowsingHandler.cs
- IDataContractSurrogate.cs
- WindowsTab.cs
- SQLMembershipProvider.cs
- COM2FontConverter.cs
- PreservationFileReader.cs
- SecurityIdentifierElement.cs
- XmlLoader.cs
- UInt16Storage.cs
- RoleService.cs
- TrackPointCollection.cs
- Style.cs
- DrawingImage.cs
- XmlAttributeHolder.cs
- TypeUtil.cs
- OleDbReferenceCollection.cs
- ColumnWidthChangingEvent.cs
- XmlILAnnotation.cs
- FragmentQueryKB.cs
- XPathDescendantIterator.cs
- WebPartCollection.cs
- DetailsViewAutoFormat.cs
- TextFormatterContext.cs