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個小時後,我得到了錯誤!
我真的不知道,是什麼原因造成的?