Repository Layer for the Entity Framework
Is there an existing Repository Layer for the Entity Framework?
Furthermore, what is the difference between DAL with Respository Layer?
Best Regards and thanks.
Volkan Genç, Jul 21, 2011
Repository is way of implementing your DAL and generally used with DDD style design where you have one repository for each aggergate in your domain model. You'll also want to look into Unit of Work.
Jul 28, 2011
The DBContext class from Entity framework 5.0 or above, it default supports the repository and Unit of Work patterns together. It is an implementation with the combination of both patterns.
Please refer the following link.
When this question was posted, by that time atleast entity framework 5.0 would not have released. But now i feel this could be a right approach.
Kiran Kumar Gollapelly, Feb 04, 2015
Yes, (ssorry for being not clear) please share your thoughts.
Mar 01, 2011