The model backing the ‘‘ context has changed since the database was created. Consider using Code First Migrations

DB Context has changed I was working with an example in Entity Framework 5 and ran across this commonly seen issue that DB context has changed, especially after changing my Books model.

This really mean that my database was unaware that my model was changed. My Books database had to be modified appropriately. Visual […]

devenv.exe opens Visual Studio 2008 (BIDS) instead of Visual Studio 2012

BIDS or VS 2010? I installed BIDS (Visual Studio 2008) after installing Visual Studio 2012. This caused Start -> Run -> devenv.exe to open BIDS instead of Visual Studio 2012. To switch back Visual Studio 2012 again: Visit the registry by going to Start -> Run -> regedt32 Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe Double click on […]