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
OrdinalintOrdinal number of this version.
VersionVersionIdentifier of this version.
DescriptionstringDescription of this version.
CommitDateUtcDateTimeSpecifies the date and time at which this version has been applied to the database.
CommitDurationTimeSpanSpecifies 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; }