CoreLoggerExtensions.SaveChangesCompleted 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 SaveChangesCompleted event.
public static int SaveChangesCompleted(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, int entitiesSavedCount);
public static void SaveChangesCompleted(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, int entitiesSavedCount);
static member SaveChangesCompleted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * int -> int
static member SaveChangesCompleted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * int -> unit
<Extension()>
Public Function SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer) As Integer
<Extension()>
Public Sub SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer)
Parameters
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Update>
The diagnostics logger to use.
- context
- DbContext
The context being used.
- entitiesSavedCount
- Int32
The number of entities saved.
Returns
The, possibly intercepted, result.