I need to find out, which database is used by default when I create a MVC3 project with EF 4.3 using the Code First approach.
I have not entered any connection information in the Web.config, the application is working , but I cannot find any related data in my local SQL 2008 Server.
Thanks in advance!
SQL Express server in your local machine by default, you can also change the connection via DbContext constructor or web.config file.
Following two links will help you to understand how EF connect database
http://blogs.msdn.com/b/adonet/archive/2011/01/27/using-dbcontext-in-ef-feature-ctp5-part-2-connections-and-models.aspx
http://blogs.msdn.com/b/adonet/archive/2012/01/12/ef-4-3-configuration-file-settings.aspx