I'm newbie at LINQ and I'd like to know how to use it with a database located on a remote server.
我是LINQ的新手,我想知道如何将它与位于远程服务器上的数据库一起使用。
So, in other words...is there any way to tell LINQ my database's connection string?
所以,换句话说......有没有办法告诉LINQ我的数据库的连接字符串?
3 个解决方案
#1
Check out ScottGu's LINQToSql tutorial. Outstanding resource to start the learning process.
查看ScottGu的LINQToSql教程。开始学习过程的杰出资源。
#2
There's some great tutorials in getting started on the asp.net site.
在asp.net网站上开始有一些很棒的教程。
#3
Yes Properties/Settings.settings in a desktop app and web.config in web app
是桌面应用中的属性/设置。设置和Web应用中的web.config
#1
Check out ScottGu's LINQToSql tutorial. Outstanding resource to start the learning process.
查看ScottGu的LINQToSql教程。开始学习过程的杰出资源。
#2
There's some great tutorials in getting started on the asp.net site.
在asp.net网站上开始有一些很棒的教程。
#3
Yes Properties/Settings.settings in a desktop app and web.config in web app
是桌面应用中的属性/设置。设置和Web应用中的web.config