Skip to main content
Table of Contents

Namespace Stratara.Shared.Merging.ChangeTracking

Classes

ChangeMergeResult<TChanges>

Result of a ChangeMerger operation: the merged TChanges payload 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 TChanges payload against the TBase source 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.