語言

MigratorLoggingDecorator 類別

定義

裝飾員在遷徙作業中提供伐木服務......

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

建構函式

名稱 Description
MigratorLoggingDecorator(MigratorBase, MigrationsLogger)

初始化一個新的 MigratorLoggingDecorator 類別實例。

屬性

名稱 Description
Configuration

取得用於遷移流程的設定。

(繼承來源 MigratorBase)

方法

名稱 Description
GetDatabaseMigrations()

會取得已套用到資料庫的遷移清單。

(繼承來源 MigratorBase)
GetLocalMigrations()

會獲得 assembly 中定義的遷移清單。

(繼承來源 MigratorBase)
GetPendingMigrations()

會取得尚未套用到資料庫的待處理遷移清單。

(繼承來源 MigratorBase)
Update()

更新目標資料庫至最新遷移。

(繼承來源 MigratorBase)
Update(String)

更新目標資料庫至特定遷移地點。

(繼承來源 MigratorBase)

適用於