Back to list
Views:   0
Replies:  0
Archived
,
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
Reply 1
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.
https://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext%28v=vs.113%29.aspx

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
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas