Share via


RelationalLoggerExtensions.BatchSmallerThanMinBatchSize Method

Definition

Logs for the BatchSmallerThanMinBatchSize event.

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)

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

The diagnostics logger to use.

entries
IEnumerable<IUpdateEntry>

The entries for entities in the batch.

commandCount
Int32

The number of commands.

minBatchSize
Int32

The minimum batch size.

Applies to