Saving complex aggregates using Repository Pattern
- by Kevin Lawrence
We have a complex aggregate (sensitive names obfuscated for confidentiality reasons).
The root, R, is composed of collections of Ms, As, Cs, Ss. Ms have collections of other low-level details. etc etc
R really is an aggregate (no fair suggesting we split it!)
We use lazy loading to retrieve the details. No problem there.
But we are struggling a…