Connection String to SQL Server
Здравейте. Имам MVC 4 приложение и база данни в LOCALDB.
Въпроса ми е как да е прехвърля на SQL Server Express, имам следните стринг връзки:
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-MvcMovie-20160203123548.mdf;Initial Catalog=aspnet-MvcMovie-20160203123548;Integrated Security=True" providerName="System.Data.SqlClient" />
<add name="MovieDBContext" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Movies.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>