他们哪个更好?linq to sql或ado.net2 [英] which one them is better?linq to sql or ado.net2

查看:78
本文介绍了他们哪个更好?linq to sql或ado.net2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


linq to sql和ado.net 2有什么区别?
他们哪一个更好?
预先感谢您提供答案.


What is difference between linq to sql and ado.net 2?
Which one them is better?
Thanks in advance for an answer.

推荐答案

请参见.

LINQ to SQL与ADO.NET
See it.

LINQ to SQL versus ADO.NET


我喜欢Uma的帖子,但您还必须权衡是否总是使用SQL Server的问题.

您应该两者都知道.
I like the post by Uma, but you also have to weigh that against the question of if you are always going to just use SQL Server.

You should know both.


这取决于您所在公司的平台和标准.根据性能,它是相同的.两者有何区别?当然是语法和平台.在这里查看差异:

http://blogs.msdn.com/b/wriju/archive/2008/07/14/linq-to-sql-vs-ado-net-a-comparison.aspx [
It depends on the platform and standards of the company you are into. As per performance, it is the same. Difference between the two? of course the syntax and platform. Check out difference here:

http://blogs.msdn.com/b/wriju/archive/2008/07/14/linq-to-sql-vs-ado-net-a-comparison.aspx[^]

But if you want a newer way of querying, then use LINQ instead.


这篇关于他们哪个更好?linq to sql或ado.net2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆