I was wondering how should I integrate EF in solutions created with Clean Architecture approach. May I make EF a dependency of Domain? Most of objects included in Domain should be probably a AggregateRoots and events applied on AggregateRoots should be included there too. I'm aware that the Domain should be dependency free but I cannot imagine how I can achieve that if I want to use EventFlow. Is there any example project/solution using Clean Architecture?
Thanks in advance for any replies!
I was wondering how should I integrate EF in solutions created with Clean Architecture approach. May I make EF a dependency of Domain? Most of objects included in Domain should be probably a AggregateRoots and events applied on AggregateRoots should be included there too. I'm aware that the Domain should be dependency free but I cannot imagine how I can achieve that if I want to use EventFlow. Is there any example project/solution using Clean Architecture?
Thanks in advance for any replies!