0
我已经上传了我的MVC3项目,这是一个简单的博客,起初它运行良好,但几个小时后!以下错误出现(我做了自定义错误为关闭看到错误)在数据库创建期间更改模型
The model backing the 'SiteContext' context has changed since the database was created. Either manually delete/update the database, or call Database.SetInitializer with an IDatabaseInitializer instance. For example, the DropCreateDatabaseIfModelChanges strategy will automatically delete and recreate the database, and optionally seed it with new data.
解决这个我必须手动删除我的数据库,并重新创建,然后恢复到我所创建的备份。但经过2个小时后,我得到了错误!
我真的不知道,是什么原因造成的?