LINQ basics
Since SQL is a good query language then why does the need of LINQ arises in Realtional Databases.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pravin MorePosted Oct 19, 2011, 12:17 AM
As per my knowledge about LINQ, linq not broken SQL but the need of LINQ is its Intigrated with C# (VB) useful for eliminating the impedance mismatch between programming languages and databases.
LINQ is simple for use compare to SQL.but thing is that they both have their own area of benifits.
Thanx,
Pravin.
Vipul KelkarPosted Oct 19, 2011, 5:00 AM
Prabhu RajaPosted Oct 19, 2011, 4:35 AM
Check this Article : http://www.c-sharpcorner.com/UploadFile/rekhasingh1610/507292009091322AM/5.aspx
Kunal NaikPosted Oct 19, 2011, 2:07 AM
LINQ is a core languag feature of C# and VB.NET. As such it has nothing to do with SQL. But as a generalized query feature there exists multiple ways to use that feature to query databases. It is built on to of the SQL Server .NET API (System.Data.SqlClient).
Compiling linq queries every time on the fly on busy pages, can cause a lot of unnecessary over head and end up being slower. But thats what compiled Linq is for, so it compiles the query once and removes the overhead of doing it each time.
Also refer following link,
Basics of LINQ