共用方式為


DbInsertCommandTree 類別

定義

代表一個以指令樹形式表達的單列插入操作。 無法繼承這個類別。

public ref class DbInsertCommandTree sealed : System::Data::Common::CommandTrees::DbModificationCommandTree
public sealed class DbInsertCommandTree : System.Data.Common.CommandTrees.DbModificationCommandTree
type DbInsertCommandTree = class
    inherit DbModificationCommandTree
Public NotInheritable Class DbInsertCommandTree
Inherits DbModificationCommandTree
繼承

備註

當該 Returning 屬性被設定時,指令會回傳一個讀取器;否則,則回傳一個標量值,表示受影響的列數。

屬性

名稱 Description
Parameters

取得可參考 DbCommandTree的每個參數的名稱及對應型別。

(繼承來源 DbCommandTree)
Returning

得到 DbExpression 一個,指定根據修改過的列回傳結果的投影。

SetClauses

取得定義插入操作的插入集合子句清單。

Target

取得指定資料操作語言(DML)操作目標表的 。DbExpressionBinding

(繼承來源 DbModificationCommandTree)

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於