共用方式為


MigratorLoggingDecorator 類別

定義

裝飾專案,可在移轉作業期間提供記錄。

public class MigratorLoggingDecorator : System.Data.Entity.Migrations.Infrastructure.MigratorBase
type MigratorLoggingDecorator = class
    inherit MigratorBase
Public Class MigratorLoggingDecorator
Inherits MigratorBase
繼承
MigratorLoggingDecorator

建構函式

MigratorLoggingDecorator(MigratorBase, MigrationsLogger)

初始化 MigratorLoggingDecorator 類別的新實例。

屬性

Configuration

取得用於移轉程式的組態。

(繼承來源 MigratorBase)

方法

GetDatabaseMigrations()

取得已套用至資料庫的移轉清單。

(繼承來源 MigratorBase)
GetLocalMigrations()

取得元件中定義的移轉清單。

(繼承來源 MigratorBase)
GetPendingMigrations()

取得尚未套用至資料庫的擱置移轉清單。

(繼承來源 MigratorBase)
Update()

將目標資料庫更新至最新的移轉。

(繼承來源 MigratorBase)
Update(String)

更新目標資料庫至指定的移轉。

(繼承來源 MigratorBase)

適用於