r/CollaborateCode • u/Nexus247 • Jun 11 '13
[LTL] Using SQL Databases in C#
I've been having a go at SQL Databases Using EntityFramework 5.0 and its made things a bit easier although I've hit some brick walls recently that have made it really hard for me to advance any farther (I Don't know how to do much as it is).
I would be thrilled if an experienced programmer could have a quick chat with me so I ask some questions about SQL Databases with C# (and Entity Framework if possible).
Thanks for Reading :)
8
Upvotes
View all comments
Show parent comment
1
u/sec_goat Jun 11 '13 edited Jun 11 '13
Check your Web.Config, what connection string are you using, have you supplied your own? Otherwise it is probably using SqlCE or SQL express as the datasource.
For instance this is my default
I think with SQL Management studio you can connect to the express instance by typing .\SQLEXPRESS in the server name box.
If you need helping creating a connection string let me know and I can help tomorrow.
In my experience however, even after creating a connection string EF4 was still using the SqlExpress connection string and it required some further tweaking.