Struct SqlDatabaseVersionHistory.DatabaseComparisonResult
- Namespace
- LfrlAnvil.Sql.Versioning
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a result of comparison of an SqlDatabaseVersionHistory instance with a sequence of versions already applied to the database.
public readonly struct SqlDatabaseVersionHistory.DatabaseComparisonResult
- Inherited Members
Properties
Committed
Collection of all versions applied to the database.
public ReadOnlySpan<ISqlDatabaseVersion> Committed { get; }
Property Value
Current
Specifies the identifier of the last applied version to the database.
public Version Current { get; }
Property Value
NextOrdinal
Specifies the Ordinal value of the next version to be applied to the database.
public int NextOrdinal { get; }
Property Value
Uncommitted
Collection of all versions that haven't been applied to the database yet.
public ReadOnlySpan<ISqlDatabaseVersion> Uncommitted { get; }