Do you use LINQ in your applications? Yes or No?
If Yes, how do you find it? I review code almost every week and I still see LINQ is not being used at all.
Loading
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
VulpesRank #55 · 29.2K reputationPosted Jul 24, 2011, 3:10 AM EDT
Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 24, 2011, 4:07 AM EDT
Either the application is developed with ADO.NET Entity framework..or I prefer it to reduce the codeline... and these days I'm working out with PLINQ too.. yes its time to utilize your MultiCore processors in your porgram.
I like LINQ....
Mahesh ChandRank #1 · 393.3K reputationPosted Jul 24, 2011, 5:01 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Jul 24, 2011, 1:35 PM EDT
So I have a secret. If I could, I would write an article comparing SQL to LINQ; that is, what are the equivalent syntaxes. I assume that LINQ can do more than SQL can but even if that is true, it would help to have a comparison of how to do equivalents when there are equivalents. The other thing that would help is to explain what happens sequentially. Everything that I have read does not seem to do that, and the LINQ syntax does not seem to be in the sequence of what happens. In other words, what (in a LINQ expression) is the input, how does it get filtered and what happens that results in output records. I don't know how to relate the LINQ expression to those activities.
In my opinion, LINQ is just not clearly described. For example see LINQ to SQL in C#. It is extensive (big) and has a lot of sample code, but it has very little explanation as I described.
Suthish NairRank #92 · 22.8K reputationPosted Jul 25, 2011, 12:25 AM EDT
LINQ to SQL sometime creates memory problem for me, am not sure its a bug in my code or its happens like that.
I read somewhere "Ignoring Linq To Sql is the best way to have good performance for your appliaction, if its only necessary and not avoidable then use LINQ to SQL".
I want to start LINQ again.
Advantages and Disadvantages of using LINQ to SQL..
Link1 Link2
Mahesh ChandRank #1 · 393.3K reputationPosted Jul 25, 2011, 7:32 AM EDT
Sam, that would be nice to compare both SQL and LINQ. I am still trying to figure out why should I use LINQ in my Windows client applications.
In Silverlight and Windows Phone apps, it makes sense to use LINQ (client side and runs in the browser).
Suthish NairRank #92 · 22.8K reputationPosted Jul 25, 2011, 10:58 AM EDT