Compartilhar via


CoreLoggerExtensions.OldModelVersionWarning Método

Definição

Logs do OldModelVersionWarning evento.

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

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

O agente diagnóstico a ser usado.

context
DbContext

O contexto que está sendo usado.

contextOptions
DbContextOptions

As opções de contexto que estão sendo usadas.

Aplica-se a