Click here to Skip to main content
Sign Up to vote bad
good
Getting confused by LINQ
Actually what is LINQ?
is it same as ADO.net?
what is the difference?
Posted 30 Nov '12 - 3:04


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[^]
  Permalink  
Comments
Member 9125327 - 30 Nov '12 - 9:28
LINQ is a query language which you can do in your program (ASP.net) right or wrong?
Tim Corey - 30 Nov '12 - 9:34
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 OriginalGriff 236
2 Sergey Alexandrovich Kryukov 153
3 Mayur_Panchal 153
4 CPallini 100
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,246
2 CPallini 3,532
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid