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
Value | The backing value. |
Methods
Next() | Gets the next version number. |
ToString() | Converts the numeric value of this instance to its equivalent string representation. |