Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET3.5 C# ASP.NET LINQ
Getting confused by LINQ
Actually what is LINQ?
is it same as ADO.net?
what is the difference?
Posted 30-Nov-12 3:04am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 at 30-Nov-12 9:28am
   
LINQ is a query language which you can do in your program (ASP.net) right or wrong?
Tim Corey at 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)

  Print Answers RSS
0 OriginalGriff 310
1 Sergey Alexandrovich Kryukov 166
2 PhilLenoir 164
3 Richard MacCutchan 160
4 Sharmanuj 146
0 Sergey Alexandrovich Kryukov 6,081
1 OriginalGriff 5,115
2 CPallini 2,473
3 Richard MacCutchan 1,597
4 Abhinav S 1,505


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100