Repository Pattern in MVC3 Application with Entity Framework

added by Akhil Mittal
9/4/2013 6:59:42 AM


In our last four articles, we learnt almost everything about how to create an MVC application and how to communicate with database using the same application. In the third part of learning MVC, we learnt communication between MVC application and database usingEntityFramework, so I am referring to the same context. In this article, I’ll focus on how to implement a Repository Pattern in the same MVC application, therefore moving ahead a step towards architectural approach of developing an enterprise application.