Database

Jan 20, 2011 at 10:51 AM

I think Database Expense is missing in the zip file. do you provide it as another download.

Jan 20, 2011 at 11:16 AM

The database should be created when you first run the project, one of the features of EF Code first unless an exisitng db with the name set in the datacontext exists

Just set the correct connection string to point to your local SQL server instance

more info here:

http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx

http://weblogs.asp.net/scottgu/archive/2010/08/03/using-ef-code-first-with-an-existing-database.aspx

http://blogs.msdn.com/b/adonet/archive/2010/07/14/ctp4codefirstwalkthrough.aspx

 

Hope that helps