Compartir a través de


CoreLoggerExtensions.ContextDisposed Método

Definición

Registra el ContextDisposed evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Registrador de diagnóstico que se va a usar.

context
DbContext

Contexto que se usa.

Se aplica a