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.
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.
Suthish NairPosted Jul 25, 2011, 2:58 PM
Mahesh ChandPosted Jul 25, 2011, 11:32 AM
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 NairPosted Jul 25, 2011, 4:25 AM
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
Sam HobbsPosted Jul 24, 2011, 5:35 PM
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.
Mahesh ChandPosted Jul 24, 2011, 9:01 AM
Amit ChoudharyPosted Jul 24, 2011, 8:07 AM
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....
VulpesPosted Jul 24, 2011, 7:10 AM