Table of Contents

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 string

The migration identifier.

productVersion string

The 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

string

ProductVersion

The EF Core version, as obtained from the AssemblyInformationalVersionAttribute of the EF Core assembly.

public virtual string ProductVersion { get; }

Property Value

string