IBatchExecutor.Execute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在該資料庫連線中執行批次指令。
public int Execute(System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> commandBatches, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
abstract member Execute : seq<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> int
Public Function Execute (commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection) As Integer
參數
- commandBatches
- IEnumerable<ModificationCommandBatch>
要執行的批次。
- connection
- IRelationalConnection
使用資料庫連線。
傳回
受影響的總列數。