RelationalLoggerExtensions.BatchSmallerThanMinBatchSize Metoda

Definicja

Rejestruje zdarzenie BatchSmallerThanMinBatchSize .

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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Rejestrator diagnostyczny do użycia.

entries
IEnumerable<IUpdateEntry>

Wpisy dla jednostek w partii.

commandCount
Int32

Liczba poleceń.

minBatchSize
Int32

Minimalny rozmiar partii.

Dotyczy