Поделиться через


RelationalLoggerExtensions.MigrationsNotFound Метод

Определение

Журналы для 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)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

Используемое средство ведения журнала диагностика.

migrator
IMigrator

Средство миграции.

migrationsAssembly
IMigrationsAssembly

Сборка, в которой хранятся миграции.

Применяется к