Tuesday, July 29, 2008

LINQ - Operators

Here is the main list of LINQ operators
Thanks >Kader Yildirim



Restriction operators
Where

Projection operators
Select
SelectMany

Partitioning operators
Take
Skip
TakeWhile
SkipWhile

Ordering operators
OrderBy
OrderByDescending
ThenBy
ThenByDescending
Reverse

Grouping operators
GroupBy
Joining operators
Join
GroupJoin

Set operators
Distinct
Union
Intersect
Except

Conversion operators
Cast
ToArray
ToList
ToDictionary
OfType
ToLookup
ToSequence

Element operators
DefaultEmpty
First
FirstOrDefault
Last
LastOrDefault
ElementAt
ElementAtOrDefault
Single
SingleOrDefault

Generation operators
Empty
Range
Repeat
Quantifiers
Any
All
Contains

Aggregate operators
Aggregate
Count
LongCount
Sum
Min
Max
Average
Fold

Miscellaneous operators
Concat
EqualAll
Custom Sequence operators
Combine
Query Execution
Deferred
Immediate
QueryReuse

No comments:

Post a Comment