Phil Fresle's Developer Blog

April 2012 Entries

ASP.NET MVC3 Using Code First Entity Framework Without Database Generation

Note that this works just as well with MVC4 as it does MVC3.So, when is Code First not Code First?It is possible, even recommended, to use 'code first' techniques even when you are not generating the database from the code. This is hinted at in the Creating an Entity Framework Data Model for an ASP.NET MVC Application article on Microsoft's asp.net web site (http://www.asp.net/mvc/tut... ......