CQRS: Refactoring Queries without Repositories

added by DotNetKicks
3/5/2020 2:59:16 AM

624 Views

This question posted on Twitter (and the subsequent thread) caught my attention. I had to pipe in with my own opinion on having queries without repositories. To summarize, the question is about using Aggregate Roots with an ORM like Entity Framework. Should you eager load all navigation properties or alternatively I guess, use lazy loading?


0 comments