Dec 22, 2014 03:09 AM|alexandrr|LINK
More often than not, the answer is no - there is no benefit to be had from implementing Repository or Unit Of Work patterns when using Entity Framework. Entity framework already implements these patterns.
Do you write Entity Framework queries in services in BLL? Writing unit test for these services mu be awful.
For me it is a bad practise - methods in these services with Entity Framework queries must be very long, what is more in that case you must use DBContext in services to write there Entity Framework queries - it isn't a good solution for me.
I write Entity Framework queries in my repositories in DAL and I use my repositories in services in BLL - maybe it is over-abstraction but my services are short and easy to write unit tests and I don't use DbContext in BLL.