An Introduction to LINQ
- slide 2 : 11
LINQ Concepts
Sequence
A collection - of type
IEnumerable<T>
- that can be traversed by use of an iterator
IQueryable<T>
is a sub-interface of
IEnumerable<T>
.
Data source
The sequence considered the original input to a query
Query
An expression which (lazily) extracts information from a sequence
Query Operator
A pure function, defined on Sequence types, and used in a query
LINQ Provider
An implementation of a number of query operators on a given kind of data source
Examples: LINQ to Objects and LINQ to SQL