Class AppliedMigration
A migration that has been applied, as recorded in the IMigrationHistory.
public sealed record AppliedMigration : IEquatable<AppliedMigration>
- Inheritance
-
AppliedMigration
- Implements
- Inherited Members
Constructors
AppliedMigration(string, string, DateTime, DateTime)
A migration that has been applied, as recorded in the IMigrationHistory.
public AppliedMigration(string Id, string Title, DateTime Date, DateTime AppliedAt)
Parameters
IdstringThe stable identifier (see Id).
TitlestringThe human-readable title from MigrationAttribute.
DateDateTimeThe ordering timestamp from MigrationAttribute.
AppliedAtDateTimeWhen the migration was applied.
Properties
AppliedAt
When the migration was applied.
public DateTime AppliedAt { get; init; }
Property Value
Date
The ordering timestamp from MigrationAttribute.
public DateTime Date { get; init; }
Property Value
Id
The stable identifier (see Id).
public string Id { get; init; }
Property Value
Title
The human-readable title from MigrationAttribute.
public string Title { get; init; }