私は最初にEFコードを初めて使用します。運用環境に既存のデータベースがあり、最初に EF 4.3.1 コードを使用したところ、すべてが機能しました。データベーススキーマを更新したところ、例外が発生しました
System.InvalidOperationException: The model backing the 'MyDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
本番なので使えないDropCreateDatabaseIfModelChanges
のですが、スキーマ変更に対応する一番簡単な方法は何ですか?
ありがとうございました。