DbModificationClause.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Common / CommandTrees / DbModificationClause.cs / 2 / 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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK