Share via


RelationalLoggerExtensions.MigrationsNotApplied Method

Definition

Logs for the MigrationsNotApplied event.

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)

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

The diagnostics logger to use.

migrator
IMigrator

The migrator.

Applies to