Class SqlDatabaseVersionRecord
- Namespace
- LfrlAnvil.Sql.Versioning
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents information about a single version applied to the database.
public sealed record SqlDatabaseVersionRecord : IEquatable<SqlDatabaseVersionRecord>
- Inheritance
-
SqlDatabaseVersionRecord
- Implements
- Inherited Members
Constructors
SqlDatabaseVersionRecord(int, Version, string, DateTime, TimeSpan)
Represents information about a single version applied to the database.
public SqlDatabaseVersionRecord(int Ordinal, Version Version, string Description, DateTime CommitDateUtc, TimeSpan CommitDuration)
Parameters
Ordinal
intOrdinal number of this version.
Version
VersionIdentifier of this version.
Description
stringDescription of this version.
CommitDateUtc
DateTimeSpecifies the date and time at which this version has been applied to the database.
CommitDuration
TimeSpanSpecifies the time it took to fully apply this version to the database.
Properties
CommitDateUtc
Specifies the date and time at which this version has been applied to the database.
public DateTime CommitDateUtc { get; init; }
Property Value
CommitDuration
Specifies the time it took to fully apply this version to the database.
public TimeSpan CommitDuration { get; init; }
Property Value
Description
Description of this version.
public string Description { get; init; }
Property Value
Ordinal
Ordinal number of this version.
public int Ordinal { get; init; }
Property Value
Version
Identifier of this version.
public Version Version { get; init; }