Try Not To Reference Your DbContext In Entity Framework Code First Migrations

added by Ricardo Peres
1/19/2015 5:42:28 PM

2 Kicks, 237 Views

I recently ran into a problem where a developer was trying to pull down the latest version of the NemeStats codebase ( https://github.com/jakejgordon/NemeStats) was getting the below error when running the Entity Framework code first migrations via "update-database". The error was: The model backing the 'NemeStatsDbContext' context has changed since the database was created.


0 comments