共用方式為


RelationalLoggerExtensions.BatchReadyForExecution 方法

定義

BatchReadyForExecution事件的記錄。

public static void BatchReadyForExecution (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries, int commandCount);
static member BatchReadyForExecution : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * seq<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * int -> unit
<Extension()>
Public Sub BatchReadyForExecution (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), entries As IEnumerable(Of IUpdateEntry), commandCount As Integer)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

要使用的診斷記錄器。

entries
IEnumerable<IUpdateEntry>

批次中實體的專案。

commandCount
Int32

命令數目。

適用於