You must Sign In to post a response.

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

what is LINQ
Difference between LINQ & SQL


Comments

Author: Tejas Trivedi25 Jul 2010 Member Level: Gold   Points : 2

Hi,

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.

Author: MuhiReks25 Jul 2010 Member Level: Gold   Points : 2

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

Author: krishnavenikaladi26 Jul 2010 Member Level: Gold   Points : 2

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

Author: Pawan Tiwari26 Jul 2010 Member Level: Gold   Points : 2

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

http://www.linqpad.net/WhyLINQBeatsSQL.aspx

Author: Vaishali Jain04 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.

Author: vinayaka krishna Shenoy19 Aug 2010 Member Level: Silver   Points : 2

Hi,

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!.

Regards,
-Vinayak