Namespace Stratara.Shared.Merging.ChangeTracking
Classes
- ChangeMergeResult<TChanges>
Result of a
ChangeMergeroperation: the mergedTChangespayload plus the per-property change details that constitute the merge's audit trail.
- ChangeMerger<TBase, TChanges>
Last-writer-wins change merger for an update operation against the current aggregate state. Compares each property of the incoming
TChangespayload against theTBasesource the caller saw at command time; when they match, the current aggregate value wins (avoiding lost updates), otherwise the incoming value wins.
- ChangeSetBuilder<TBase, TChanges>
Diff-only counterpart to ChangeMerger<TBase, TChanges>. Produces the list of per-property differences between the caller-visible source, the live current state, and the incoming change-set payload without applying any mutations.