Skip to content

Where did EF code first model create the database?

Asked Jan 13, 2016, 4:10 PM EST1 answer
Share
LinkedInX
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?  

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I got it. This is View> SqlServerObjectExplorer>SqlServer>(localdb)\MSSQLLocalDB
    0