EF Code First change default Initial Catalog

1

I am trying to modify the database Padrão of Entity Framework but the Initial Catalog is not being modified.

    
asked by anonymous 26.01.2016 / 20:20

1 answer

0

Test with the following Connection String:

<add name="VitecStore" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=VitecStore;database=VitecStore;Integrated Security=True" providerName="System.Data.SqlClient" /> 
    
28.01.2016 / 12:55