语言

HistoryRow(String, String) 构造函数

定义

为给定版本的 EF Core 创建具有 HistoryRow 给定迁移标识符的新项。

public HistoryRow(string migrationId, string productVersion);
new Microsoft.EntityFrameworkCore.Migrations.HistoryRow : string * string -> Microsoft.EntityFrameworkCore.Migrations.HistoryRow
Public Sub New (migrationId As String, productVersion As String)

参数

migrationId
String

迁移标识符。

productVersion
String

从 AssemblyInformationalVersionAttribute EF Core 程序集获取的 EF Core 版本。

适用于