更新时间:2022-04-08 07:20:02
你有没有遵循任何教程?你可以使用EF和MVC来访问数据库。以下文章
链接到ASP MVC4.0和EF5.x中的现有SQLDB [ ^ ]
haven't you follow any tutorials? you can use EF with MVC to access database. check below article
Linking to an Existing SQLDB in ASP MVC4.0 and EF5.x[^]
Hello
http://msdn.microsoft.com/en-in/data/jj206878.aspx [ ^
关注此项。你在谈论的是Db与EF的第一种方法。您将获得有关如何做的基本想法。
谢谢
Hello
http://msdn.microsoft.com/en-in/data/jj206878.aspx[^
Follow this. What you are talking about is Db first approach with EF. You will get a basic Idea on how to do.
Thanks