DbBatchCommand 類別

定義

代表一個位於 DbBatch. 中的單一指令。 批次可對資料來源在一次往返中執行。

public ref class DbBatchCommand abstract
public abstract class DbBatchCommand
type DbBatchCommand = class
Public MustInherit Class DbBatchCommand
繼承
DbBatchCommand

建構函式

名稱 Description
DbBatchCommand()

建構物件 DbBatchCommand 的實例。

屬性

名稱 Description
CanCreateParameter

代表一個位於 DbBatch. 中的單一指令。 批次可對資料來源在一次往返中執行。

CommandText

接收或設定文字指令來對資料來源執行。

CommandType

取得或設定該屬性的 CommandText 解讀方式。

DbParameterCollection

取得物品集合 DbParameter

Parameters

取得物品集合 DbParameter 。 欲了解更多參數資訊,請參閱 「參數配置與參數資料型別」。

RecordsAffected

執行該特定 DbBatchCommand

方法

名稱 Description
CreateParameter()

代表一個位於 DbBatch. 中的單一指令。 批次可對資料來源在一次往返中執行。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於