Friday 5 August 2016

Basics of LINQ

In this article, I will walk through the basics concepts in LINQ. Below is simple console application, ;included the reference of Linq.  

In the below example, we would write a LINQ query to filter out records based on certain parameter, we would filter on array and student class objects as shown below.
Lets filter and sort student class objects,
Below example show how to select specific column from the available data-set and perform aggregation based on specify element in the entity.
Below example shows the group by feature and filtering records using lamba expression.
Here we would perform join operations based on common element in the entities.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.