I'm super new to all this, so this may be a silly question.
I'm deploying a mvc3 app. Locally I have two databases, one came built in and contains the users/membership/roles, etc the other is for my dbcontext.
Local connection:
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="MembershipExtContext" connectionString="Data Source=|DataDirectory|invoice.sdf" providerName="System.Data.SqlServerCe.4.0"/>
</connectionStrings>
I need to deploy to (preferably) one database catalog. How do I do this? Do I need two catalogs? Will Entity still create the tables and such?
I was given a connection string for the new database.
I'm very confused. I hope someone can help.
The database on the server is sql2005. I am using entity code first.