Linq

What are different Query Operators in Linq?

What are different Query Operators in Linq?

Different Query Operators in Linq?

A set of extension methods forming a query pattern is known as, LINQ Standard Query Operators.

The select clause or the Select method projects each element of a sequence into a new form. It selects, projects and transforms elements in a collection.

LINQ standard query operators are: - 




Filtering
Used to restrict the result set such that it has only selected elements satisfying a particular condition.


Join
Used to Join 2 ore multiple result sets.


Projection
Used to project / transform an object into an altogether new form with only specific or selective properties.


Sorting
Used to order the elements of a sequence or result set on basis of a single or more attributes.


Grouping
Used to group data based on a common shared attribute.


Conversions
Used to change the type of input objects.


Concatenation
Used to Performs concatenation of two sequences. This is quite similar to the Union operator except, this does not remove duplicates.


Aggregation
Used to Performs any type of desired or custom aggregation


Quantifier
Used to check a specific condition. These operators return a Boolean value i.e. True or False when some or all elements within a sequence satisfy a specific condition.


Partition
Used to divide an input sequence into two separate sections without rearranging the elements of the sequence and then returning one of them.


Generation
Creates a new sequence of values.


Set
Yield result set based on different criteria.


Equality
Used to Compares two sets and determine are they an exact match or not.


Element
Except the DefaultIfEmpty, all the rest eight standard query element operators return a single element from a collection.




Related Post

About Us

Community of IT Professionals

A Complete IT knowledgebase for any kind of Software Language, Development, Programming, Coding, Designing, Networking, Hardware and Digital Marketing.

Instagram