Click here to Skip to main content
16,012,468 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
What is difference between linq to sql and ado.net 2?
Which one them is better?
Thanks in advance for an answer.
Posted

 
Share this answer
 
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.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900