CoreLoggerExtensions.SaveChangesCompleted Methode

Definition

Protokolle für das SaveChangesCompleted Ereignis.

public static void SaveChangesCompleted (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, int entitiesSavedCount);
public static int 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 -> unit
static member SaveChangesCompleted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * int -> int
<Extension()>
Public Sub SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer)
<Extension()>
Public Function SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer) As Integer

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Die zu verwendende Diagnose-Protokollierung.

context
DbContext

Der verwendete Kontext.

entitiesSavedCount
Int32

Die Anzahl der gespeicherten Entitäten.

Gibt zurück

Das möglicherweise abgefangene Ergebnis.

Gilt für: