Class SnapshotUpgradingOptions
- Namespace
- Excalibur.EventSourcing.Snapshots
- Assembly
- Excalibur.EventSourcing.dll
Configuration options for snapshot upgrading.
public sealed class SnapshotUpgradingOptions
- Inheritance
-
SnapshotUpgradingOptions
- Inherited Members
Properties
CurrentSnapshotVersion
Gets or sets the current snapshot version that aggregates should target.
[Range(1, 2147483647)]
public int CurrentSnapshotVersion { get; set; }
Property Value
- int
The target snapshot version. Default is 1.
EnableAutoUpgradeOnLoad
Gets or sets a value indicating whether automatic snapshot upgrading is enabled during aggregate hydration from snapshots.
public bool EnableAutoUpgradeOnLoad { get; set; }
Property Value
- bool
True to enable automatic upgrading; false otherwise. Default is true.