Compartir a través de


CoreLoggerExtensions.SaveChangesCanceled Método

Definición

Registra el SaveChangesFailed evento.

public static void SaveChangesCanceled (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context);
static member SaveChangesCanceled : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext -> unit
<Extension()>
Public Sub SaveChangesCanceled (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Registrador de diagnóstico que se va a usar.

context
DbContext

Contexto en uso.

Se aplica a