DbCommandBuilder.InitializeCommand(DbCommand) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
protected:
virtual System::Data::Common::DbCommand ^ InitializeCommand(System::Data::Common::DbCommand ^ command);
protected virtual System.Data.Common.DbCommand InitializeCommand(System.Data.Common.DbCommand command);
abstract member InitializeCommand : System.Data.Common.DbCommand -> System.Data.Common.DbCommand
override this.InitializeCommand : System.Data.Common.DbCommand -> System.Data.Common.DbCommand
Protected Overridable Function InitializeCommand (command As DbCommand) As DbCommand
參數
傳回
一個 DbCommand 用於每次插入、更新或刪除操作的實例。 傳遞空值後,InitializeCommand(DbCommand)方法可根據與 DbCommandBuilderSelect(選擇)指令建立物件。DbCommand
備註
此方法主要供提供者撰寫者使用,並建立自訂指令建構器。