Freigeben über


CoreLoggerExtensions.OldModelVersionWarning Methode

Definition

Protokolle für das OldModelVersionWarning Ereignis.

public static void OldModelVersionWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.DbContextOptions contextOptions);
static member OldModelVersionWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.DbContextOptions -> unit
<Extension()>
Public Sub OldModelVersionWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), context As DbContext, contextOptions As DbContextOptions)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Die zu verwendende Diagnose-Protokollierung.

context
DbContext

Der verwendete Kontext.

contextOptions
DbContextOptions

Die verwendeten Kontextoptionen.

Gilt für: