-
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
Description
For synchronisation purpose sometimes we add a GUID column with an unique constraint but keep an autoinc int PKEY for regular work (avoiding fragmentation, unreadable keys,...).
If we could specify the column(s) on which the equality should be done during merge that would be great.
Context.UpdateGraph(document, map => map.OwnedCollection(d => d.Lines, withKey : line => line.UniqueId));
Without it, GraphDiff removes and re-adds the lines instead of updating them.