Compartir a través de


RelationalLoggerExtensions.PendingModelChangesWarning Method

Definition

Logs for the PendingModelChangesWarning event.

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

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

The diagnostics logger to use.

contextType
Type

The DbContext type being used.

Applies to