Are there any MVC4 code samples that use entity framework, unit of work and a generic repository pattern that I could use as a template?
是否有任何MVC4代码示例使用实体框架、工作单元和我可以作为模板使用的通用存储库模式?
1 个解决方案
#1
1
I used this 2 tutorials to do this:
我用这两个教程来做这个:
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4 and
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4和
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application
#1
1
I used this 2 tutorials to do this:
我用这两个教程来做这个:
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4 and
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4和
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application