LINQ

[Linq] Select Parent Objects Where Child Objects Have a Matching Child Object

Problem: Linq to Select Parent Objects Where Child Objects Have a Matching Child Object linq how to select a parent […]

Updated on     Kisan Patel

C# – Linq Distinct on a particular Property

Problem: How to use Distinct when I do not have a simple list (a simple list of integers is pretty […]

Updated on     Kisan Patel

Get child objects in list of parent objects using LINQ C#

Problem: Given a list of Parent objects that each have a list of Child objects, I want to find the […]

Updated on     Kisan Patel

Implement WHERE IN clause in LINQ to Entities

Problem: How to write “WHERE IN” style queries using LINQ to Entities? Solution: In the LINQ (to objects) world there […]

Updated on     Kisan Patel

C# LINQ Set Operators

The LINQ Set operators are used to perform the mathematical set-type operations on the sequences. The four different types of […]

Updated on     Kisan Patel

C# LINQ Element Operators

The Element operators in LINQ return just one element. So These are a group of extension methods that can be […]

Updated on     Kisan Patel

C# LINQ JOIN Operator

The Join operators in LINQ are used join objects in one data source with objects that share a common attribute […]

Updated on     Kisan Patel

C# LINQ Partitioning Operators – Take and Skip

The Partitioning operators in LINQ are used to divide an enumerable sequence into two sections and returning the result set […]

Updated on     Kisan Patel

C# LINQ Quantifier Operators : Any, All and Contains

The Quantifier operators return a Boolean value if the elements of the sequence satisfy a specific condition. The clauses that […]

Updated on     Kisan Patel

C# LINQ Sorting – OrderBy and ThenBy Operators

The Sorting operator in LINQ arranges the elements of a sequence based on one or more attributs. The different Sorting […]

Updated on     Kisan Patel