RelationalLoggerExtensions.BatchSmallerThanMinBatchSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework