语言

MigrationExecutionState 类

定义

包含当前迁移执行的状态。

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class MigrationExecutionState
[<System.Runtime.CompilerServices.Nullable(0)>]
type MigrationExecutionState = class
Public NotInheritable Class MigrationExecutionState
继承
MigrationExecutionState
特性

构造函数

名称 说明
MigrationExecutionState()

包含当前迁移执行的状态。

属性

名称 说明
AnyOperationPerformed

指示是否执行任何迁移操作。

CurrentMigrationId

当前应用的迁移的 ID。

DatabaseLock

正在使用的数据库锁。

LastCommittedCommandIndex

提交到数据库的最后一个命令的索引。

SeedingCompleted

指示种子设定是否已完成。

Transaction

正在使用的事务。

适用于