Skip to content

How to create Repository Classes in MVC3 (Entity Framework)?

r p

Asked Jul 2, 2013, 1:14 AM EDT1 answer
Share
LinkedInX
I  created a project using MVC3 - Entity Framework. I like to useRepository Pattern together with it. I am new to repository pattern. Do I need to createONE EACH Repository for each Model Class (classes which represent each table in the database) and within each repository do I have to writeall the functions which will Insert, Update, Delete and Fetch record?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.