阅读背景:

实体框架4代码优先 - 防止数据库丢弃/创建

来源:互联网 

I've written an ASP.Net MVC 3 application using the Code First paradigm whereby when I make a change to the model the Entity Framework automatically attempts to re-create the underlying SQL Server Database via DROP and CREATE statements. The problem is the application is hosted on a 3rd party remote server which limits the number of databases I can have and does not seem to allow me to programmatically execute "CREATE DATABASE..." statements as I gather from this error message:I've written an ASP.Net MVC 3 application using




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

分享到: