Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Unassigned: AutomaticMigrationsEnabled = false but Throwing Model Changed Exception [1393]

$
0
0
If you you have AutomaticMigrationsEnabled = false; but have a dbo._MigrationHistory and the Model has pending changes EF throws a "The model backing the '' context has change since database was created" exception.

One would expect that if migrations were turned off that it wouldn't bother checking for the migration history to do the comparison.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>