Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Getting confused by LINQ
Actually what is LINQ?
is it same as ADO.net?
what is the difference?
Posted

1 solution

This really is a search you could do yourself on Google. A search for "what is Linq C#" in Google resulted this as its first result:

http://stackoverflow.com/questions/471502/what-is-linq-and-what-does-it-do[^]
 
Share this answer
 
Comments
Am Gayathri 30-Nov-12 9:28am    
LINQ is a query language which you can do in your program (ASP.net) right or wrong?
Tim Corey 30-Nov-12 9:34am    
Technically correct but it misses the point. You can put SQL statements in your program as well. Linq is an object query language that allows a standard way of querying different types of data sources (XML, SQL, POCOs, etc.) When talking about accessing SQL, you can do the same thing with Linq as you can with a TSQL statement (both in your code). Because of the efficiency of Linq, it is practically the same in terms of performance as making the SQL call from code. My suggestion would be to learn more about Linq and figure out what you are trying to do exactly to see if Linq is the right choice.

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