Compartir a través de


CoreLoggerExtensions.SaveChangesFailed Método

Definición

Registros del SaveChangesFailed evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Registrador de diagnóstico que se va a usar.

context
DbContext

Contexto en uso.

exception
Exception

Excepción que provocó este evento.

Se aplica a