[英]How can I change the model without having to delete the database?
如果我在模型中進行任何更改,現在我必須刪除並重新創建數據庫。 我該怎么解決?
手動更改數據庫。 確保在SQL Server Management Studio中的“設計器”下的“選項”下取消選中Prevent saving changes that require table re-creation
您需要手動更改數據庫。
有一些自動化工具可以幫助您進行反思,例如http://visualstudiogallery.msdn.microsoft.com/df3541c3-d833-4b65-b942-989e7ec74c87或http://www.huagati.com/dbmltools/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.