HistoryRow 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示迁移历史记录表中的行的实体类型。
public class HistoryRow
[System.Runtime.CompilerServices.Nullable(0)]
public class HistoryRow
type HistoryRow = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type HistoryRow = class
Public Class HistoryRow
- 继承
-
HistoryRow
- 特性
注解
有关详细信息和示例,请参阅 数据库迁移 。
构造函数
| 名称 | 说明 |
|---|---|
| HistoryRow(String, String) |
为给定版本的 EF Core 创建具有 HistoryRow 给定迁移标识符的新项。 |
属性
| 名称 | 说明 |
|---|---|
| MigrationId |
迁移标识符。 |
| ProductVersion |
从 AssemblyInformationalVersionAttribute EF Core 程序集获取的 EF Core 版本。 |