共用方式為


RelationalLoggerExtensions.MigrationAttributeMissingWarning 方法

定義

public static void MigrationAttributeMissingWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> diagnostics, System.Reflection.TypeInfo migrationType);
static member MigrationAttributeMissingWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> * System.Reflection.TypeInfo -> unit
<Extension()>
Public Sub MigrationAttributeMissingWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Migrations), migrationType As TypeInfo)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

要使用的診斷記錄器。

migrationType
TypeInfo

移轉類型的資訊。

適用於