语言

HistoryRow 类

定义

表示迁移历史记录表中的行的实体类型。

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 版本。

适用于