From my understanding, we have LINQ and Lambda expressions.
Is it more advisable to use Lambda expression as they provide more functionality that LINQ may not.
LINQ vs Lambda
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In our applications we tend to mix and match them based on developer preference. My rule of thumb is that if the query requires Join or Group By I use Lamda, if it’s a simple filtered statement I use LINQ.
Both will result in an SQL statement in the end, I’d recommend http://www.linqpad.net/ to see the query and execution plan that results from your LINQ or Lamda statement.