共用方式為


RelationalLoggerExtensions.MigrationApplying 方法

定義

MigrationApplying事件的記錄。

public static void MigrationApplying (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> diagnostics, Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator, Microsoft.EntityFrameworkCore.Migrations.Migration migration);
static member MigrationApplying : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> * Microsoft.EntityFrameworkCore.Migrations.IMigrator * Microsoft.EntityFrameworkCore.Migrations.Migration -> unit
<Extension()>
Public Sub MigrationApplying (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Migrations), migrator As IMigrator, migration As Migration)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

要使用的診斷記錄器。

migrator
IMigrator

移轉程式。

migration
Migration

移轉。

適用於