In EF 4.3 IncludeMetadataConvention
, EdmMetadata
and other classes are obsolete:
The XXX is no longer used. EdmMetadata is not included in the model. <see cref="EdmModelDiffer" /> is now used to detect changes in the model.
What is EdmModelDiffer
and how it should be used?
It looks like EdmModelDiffer
is an internal class for EF Code Migrations, so it is quite a bad error message to pass back to the user.
In Entity Framework 4.3 EF Migrations is used to detect changes in the model and optionally update the database when needed. This blog post explains some details on edmmetadata vs the new ef migrations.
There are some EF migration walkthroughs (google for it) available as an introduction. I've written a series about it as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With