I have a solution with two projects, the main has the user classes (the default of MVC5) and the other one I have my business classes.
After a few changes in my code I've got the error:
The model backing the 'EfDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
I've executed the commands for add a new migration and for update the database. The error still goes on.
After this I tried many things to solve the problem, including these solutions:
https://stackoverflow.com/a/22451879/2394172
and
https://stackoverflow.com/a/11679386/2394172
But I still have this error:
PS: I already deleted my database and recreate it and the problem still on.
I can't figure out why this error still happening. When I execute the command Add-Migration
the file created has the functions blank.
UPDATE (12/11/2014):
I've made a video showing all the process that I'm trying, proving that I'm using the same database I was updating with migrations.
By the way, I notice that I can insert data in the database, as shown in the video, but after it, the error occurs.