MigratorBase 类

定义

包装核心的修饰器的基类 DbMigrator

[System.Diagnostics.DebuggerStepThrough]
public abstract class MigratorBase
type MigratorBase = class
Public MustInherit Class MigratorBase
继承
MigratorBase
派生
属性

构造函数

MigratorBase(MigratorBase)

初始化 MigratorBase 类的新实例。

属性

Configuration

获取用于迁移过程的配置。

方法

GetDatabaseMigrations()

获取已应用于数据库的迁移的列表。

GetLocalMigrations()

获取程序集中定义的迁移的列表。

GetPendingMigrations()

获取尚未应用于数据库的挂起迁移的列表。

Update()

汇报目标数据库进行最新迁移。

Update(String)

将目标数据库汇报给定迁移。

适用于