MigrationExecutionState 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含当前迁移执行的状态。
[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 |
正在使用的事务。 |