Enum CollectionUpdateStrategy
- Namespace
- ForgeMap
- Assembly
- ForgeMap.Abstractions.dll
Specifies how a collection property is updated when ExistingTarget is true.
public enum CollectionUpdateStrategy
Fields
Add = 1Add new items from source to existing collection. Existing items unchanged.
Replace = 0Replace the entire collection (default — same as non-ExistingTarget behavior).
Sync = 2Match items by key, update existing, add new, remove missing. Requires KeyProperty to be set.