Compartilhar via


CoreLoggerExtensions.ContextDisposed Método

Definição

Logs do 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>

O agente diagnóstico a ser usado.

context
DbContext

O contexto que está sendo usado.

Aplica-se a