Definition
Namespace: EntityDb.Common.Exceptions
Assembly: EntityDb.Common
The exception that is thrown when an actor passes an ITransaction to PutTransaction(ITransaction, CancellationToken) with on a ITransactionStep that implements IAppendCommandTransactionStep and the value of EntityVersionNumber is equal to 0
.
1
public class VersionZeroReservedException : System.Exception
Inheritance: Object → Exception
Remarks
Version Zero is reserved for an entity that has not yet been created/persisted.
Methods
ThrowIfZero(VersionNumber) | Throws a new VersionZeroReservedException if versionNumber is equal to zero. |