May 25, 2021 10:26 AM|mgebhard|LINK
Sometimes it is said that Uow and repository are completely wrong and are anti-pattern, and sometimes there is a strong emphasis on using repository and Uow !!!!!!
There is nothing wrong with the Unit of Work pattern. Entity Framework is a UoW pattern. The problem occurs when developers try to wrap Entity Framework in another UoW pattern or generic repository.
I could not reach a conclusion. Can anyone provide a summary and a small project example?
It is not possible to answer your question or provide any meaningful code examples because you have not explained the application requirements or the programming problem you are trying to solve. Architectures and programming patterns solve common problems.
Your question assumes there is a magical approach that works for every application which in not true. Application are unique and made up of many programming patterns.