Gaurav Singh

Gaurav Singh

  • NA
  • 0
  • 25.3k

Where did EF code first model create the database?

Jan 13 2016 9:10 PM
app config file.
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
 
I am using Entity framework 6 + version and i do have SqlServer 2014. As i was following the article about EF with code first and i did same but it didnt create database and tables in my SqlServer instance. should i change the parameter value and point it to my server name?  

Answers (1)