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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 18, 2011, 8:17 PM EDT
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.
Kunal Naik163 reputationPosted Oct 18, 2011, 10:07 PM EDT
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
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 19, 2011, 12:35 AM EDT
Check this Article : http://www.c-sharpcorner.com/UploadFile/rekhasingh1610/507292009091322AM/5.aspx
Vipul KelkarRank #1,061 · 1.8K reputationPosted Oct 19, 2011, 1:00 AM EDT