語言

IBatchExecutor.Execute 方法

定義

在該資料庫連線中執行批次指令。

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

使用資料庫連線。

傳回

受影響的總列數。

適用於