Sdílet prostřednictvím


RelationalLoggerExtensions.MigrationsNotApplied Metoda

Definice

Protokoly pro MigrationsNotApplied událost.

public static void MigrationsNotApplied (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> diagnostics, Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator);
static member MigrationsNotApplied : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> * Microsoft.EntityFrameworkCore.Migrations.IMigrator -> unit
<Extension()>
Public Sub MigrationsNotApplied (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Migrations), migrator As IMigrator)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

Diagnostický protokolovací nástroj, který se má použít.

migrator
IMigrator

Stěhovavý.

Platí pro