阅读背景:

asp.net mvc:当我在代码中更改模型时,如何使用实体框架自动更新底层数据库?

来源:互联网 

I am getting a feel for ASP.NET MVC 4. I have successfully created a simple CRUD application using scaffolding/code generation. I am connected to a DB on sql server via a connection string. Now I have updated the model class that I used to initially create the code. How do I get this to update the model in the underlying project/add the new field in the database?I am getting a feel for ASP.NET MVC 4. I have s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: