__MigrationHistory
Code First Migrations (Entity Framework 4.3) を使用していますが、現在のモデルの圧縮されたバイナリ バージョンを取得して、テーブルに格納されている最新のモデル (または私が持っているモデル) と手動で比較できるようにしたいと考えています。テキストファイルに保存されます)。
メソッドはありますが、EdmMetadata.TryGetModelHash()
非推奨としてマークされており、可能であれば避けたいです(将来の理由から)。
EF 4.3 でこれを行うにはどうすればよいですか?
編集:もう少し調査とPawel の回答の情報から、このフィールドにはもはやハッシュではなく、モデルの圧縮されたバイナリ表現が格納されていることがわかりました。作ろうとしているのはこれです。