What is the meaning of Initial Catalog in a Sql Server database connection string?

entity-framework sql-server

Question

I have the connection string below:

  connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-WebUx-20121229234926;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-WebUx-20121229234926.mdf" 
  providerName="System.Data.SqlClient" />

I currently use Entity Framework, and I want to use Code Fist to build a new database. Who can clarify what is meant by:

aspnet-WebUx-20121229234926

Could I just give this file any name as long as it matches the name of the data file?

1
7
2/26/2013 9:29:18 AM

Accepted Answer

ZZZ_tmp
5
2/26/2013 10:22:56 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow