Home VersionNumber Struct
Post
Cancel

VersionNumber Struct

Definition

Namespace: EntityDb.Abstractions.ValueObjects
Assembly: EntityDb.Abstractions

Represents a particular version for an object.

1
public readonly struct VersionNumber : System.IEquatable<VersionNumber>

Inheritance: Object → ValueType

Fields

MinValue This constant represents the minimum possible version number. In the context of an ITransactionRepository, this value is reserved to indicate there is no previous version number. In the context of an Pointer, this value is reserved to point to the latest snapshot.

Constructors

VersionNumber(UInt64) Represents a particular version for an object.

Properties

ValueThe backing value.

Methods

Next() Gets the next version number.
ToString() Converts the numeric value of this instance to its equivalent string representation.
This post is licensed under CC BY 4.0 by the author.