New answers tagged unit-of-work
The simple answer to your question is that EF is itself an implementation of the UoW/Repository pattern. The fact that you are trying to implement a Uow/Repository pattern as if EF were your data source is a good indication you are thinking about your problem incorrectly. Or there is a way to avoid this and do it in a simpler way? Yes. Simply use EF ...
Top 50 recent answers are included