You must Sign In to post a response.

What is LINQ & difference b/w LINQ & SQL?

what is LINQ
Difference between LINQ & SQL


#531226    Author: Tejas Trivedi  25 Jul 2010 Member Level: Gold   Points : 2


You can't compare it becuase Linq to sql is one of the derivative of Linq.

There are folloiwng derivatives of Linq

1) Linq to SQL
2) Linq to Dataset
3 Linq to object
4) Linq to XML
5) Linq to Entities.

Thanks & Regards
[Don't just write Softwares,Write an innovative solutions.]

#531229    Author: MuhiReks    25 Jul 2010 Member Level: Gold   Points : 2

Linq is class reprenstation of SQL Tables.Every table act as a individual class.

hope this help!


#531251    Author: krishnavenikaladi  26 Jul 2010 Member Level: Gold   Points : 2

LINQ -is a class which helps to query
collections,sql classes,object etc
SQl-querying of database

enjoy coding.....
with regards

#531500    Author: Pawan Tiwari    26 Jul 2010 Member Level: Gold   Points : 2

look this link really they explain very good in a easy manner

Pawan Tiwari
Senior Software engineer

#534812    Author: Vaishali Jain    04 Aug 2010 Member Level: Gold   Points : 2

Linq is used to perform operations against database but the linq statements are written in the code file and easy to write and understand. when you write some query in linq it gets converted to sql and then is performed on the database tables.

Miss. Jain
Microsoft Certified Technology Specialist in .Net

#540807    Author: vinayaka krishna Shenoy    19 Aug 2010 Member Level: Silver   Points : 2


The basic difference between LINQ and SQL is that, in SQL you write queries specific to the vendors such as SQL Server,Oracle Server, mySql etc. and on top of that you have to do the Transformation of that to the fron end last but not the least you need to do the connection management.

But if you use LINQ - it all comes by default to you....You just need to know C# and how to query the Objects...

I hope this helps!.


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.