Sdílet prostřednictvím


RelationalLoggerExtensions.MigrationsNotFound Metoda

Definice

Protokoluje událost MigrationsNotFound .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

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

migrator
IMigrator

Stěhovavý.

migrationsAssembly
IMigrationsAssembly

Sestavení, ve kterém jsou uloženy migrace.

Platí pro