Conditional mapping with graphdiff
You can use this with graphdiff: dbContext.UpdateGraph(a, map => map .OwnedCollection(b => p.Bs, with => with .AssociatedCollection(p => p.Es))); see this link: GraphDiff Explanation
You can use this with graphdiff: dbContext.UpdateGraph(a, map => map .OwnedCollection(b => p.Bs, with => with .AssociatedCollection(p => p.Es))); see this link: GraphDiff Explanation