Class HistoryRow
- Namespace
- Microsoft.EntityFrameworkCore.Migrations
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
An entity type that represents a row in the Migrations history table.
public class HistoryRow
- Inheritance
-
HistoryRow
- Inherited Members
Constructors
HistoryRow(string, string)
Creates a new HistoryRow with the given migration identifier for the given version of EF Core.
public HistoryRow(string migrationId, string productVersion)
Parameters
migrationId
stringThe migration identifier.
productVersion
stringThe EF Core version, which is obtained from the AssemblyInformationalVersionAttribute of the EF Core assembly.
Properties
MigrationId
The migration identifier.
public virtual string MigrationId { get; }
Property Value
ProductVersion
The EF Core version, as obtained from the AssemblyInformationalVersionAttribute of the EF Core assembly.
public virtual string ProductVersion { get; }