Skip to main content
Table of Contents

Namespace Stratara.Shared.Merging.SmartMerging

Classes

SmartMerger<TCommand, TAggregate>

Property-by-property smart-merge of an incoming TCommand against the live TAggregate state. For each property that exists on both types with a matching CLR type, the value wins as follows: if the command's value equals the source aggregate value the caller observed (no intent to change), the current live value wins; otherwise the command's value wins.