Posted on: 1/21/2012 11:16:24 AM | Views : 1239

Hi, 
    I have installed Microsoft Web Developer 2010 Express from  here.  This installer also installed sqlserver express.  
Now I create new MVC 3 application and use code first approach for creating database.  During first run of MVC 3 application creates new database and corresponding tables.
   Now I am trying Entity First approach for creating database.  I have added .emdx file and my entity model is ready.  I choose "Generate database from Model..."  option and wizard has generated one .sql file which contains all the DDL stuff for generating tables inside database.
I went through the SQL file, it dose not contain 'CREATE DATABASE' command.  It means I have to create initial database first.  I don't find any way of creating new databse. 
      I have onl ...

Go to the complete details ...