Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Where did EF code first model create the database?
Gaurav Singh
Jan 13 2016 9:10 PM
395
Reply
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?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to connect my ASP.Net 4.0 application with Oracle server
what is trigger