加入ado.net [英] join in ado.net
本文介绍了加入ado.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
> 如果我们在linq中编写联接操作并在ado.net中联接,有什么区别?
What is the difference if we write join operation in linq and join in ado.net?
推荐答案
Linq在.NET中的很多地方:
Linq is in many places in .NET:
- Linq到对象
- Linq到数据集
- Linq to SQL
- Linq到Ebay
- Linq到XML
- 等...
在任何这些情况下,您都可以在linq中编写联接.因此,例如,您可以将两个业务对象连接在一起,如我在此处所示:
You can write a join in linq in any of these cases. So, for example, you can join two business objects as I have shown here:
http://msmvps.com/blogs/deborahk/archive /2010/03/02/lambda-expressions-join.aspx
使用ADO.NET联接仅联接表.
Using the ADO.NET join only joins Tables.
希望这会有所帮助.
这篇关于加入ado.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文