Table of Contents

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 int

Ordinal number of this version.

Version Version

Identifier of this version.

Description string

Description of this version.

CommitDateUtc DateTime

Specifies the date and time at which this version has been applied to the database.

CommitDuration TimeSpan

Specifies 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

DateTime

CommitDuration

Specifies the time it took to fully apply this version to the database.

public TimeSpan CommitDuration { get; init; }

Property Value

TimeSpan

Description

Description of this version.

public string Description { get; init; }

Property Value

string

Ordinal

Ordinal number of this version.

public int Ordinal { get; init; }

Property Value

int

Version

Identifier of this version.

public Version Version { get; init; }

Property Value

Version