VersionIncrement

public abstract class VersionIncrement

A strategy for incrementing a version of an entity being modified in a transaction.

Constructors

Link copied to clipboard
public void VersionIncrement()

Functions

Link copied to clipboard
Creates a version increment which sets the new version from the given event.
Link copied to clipboard
protected abstract Version nextVersion()
Creates a new version for the entity in transaction.
Link copied to clipboard
Creates a version increment which always advances the given entity version by 1.