Compartir a través de


RelationalLoggerExtensions.BatchSmallerThanMinBatchSize Método

Definición

Registra el BatchSmallerThanMinBatchSize evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Registrador de diagnóstico que se va a usar.

entries
IEnumerable<IUpdateEntry>

Las entradas de las entidades del lote.

commandCount
Int32

Número de comandos.

minBatchSize
Int32

Tamaño mínimo del lote.

Se aplica a