Condividi tramite


CoreLoggerExtensions.ContextDisposed Metodo

Definizione

Registra l'evento ContextDisposed .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Logger di diagnostica da usare.

context
DbContext

Contesto usato.

Si applica a