I am very new in MVC trying to expand my asp.net knowledge after almost 6+ years working with web forms.
MVC is really abstract to me so far but what I like is the clean coding used. I am reading "Pro ASP.NET MVC 3 Framework" book and now I am stuck at one point and I don't know how to continue honestly.
Here is the error I am getting:
The model backing the 'EfDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database.
That happen after I tried updating one Product. The page posted back but nothing got updated in the DB.
Browsing the web I found this temp solution, putting this line in the global.asax file solved the problem: Database.SetInitializer<SportsStore.Domain.Concrete.EFDbContext>(null);
but now blank pages are coming up instead pages filled up with data.
I would like to know how I can move forward what exactly do I need to do to fix this.