WE NEED REPOSITORY FOR DBCONTEXT (EF)

In this video, I’m going to explain why do we need an additional abstraction for dbcontext (EntityFramework), the tradeoffs of creating this abstraction, and the purpose of this abstraction. In the interview question or in conversation with my coleagues I always was told, that DbContext has already implemented both Repository and Unit of Work pattern. But it’s probably not true. I would say that dbcontext has not fully implemented repository pattern. Also in this video, I’ll consider different definitions
Back to Top