Skip to content

LINQ Provider

Max Stepanskiy edited this page Jun 21, 2014 · 15 revisions

Nemo implements IQueryable<> with limited support LINQ support: where, order by as well as Skip and Take extension methods (for pagination). The implementation is considered experimental and is under current development.

Note: grouping, joins, aggregate functions are not supported, custom projections are not currently supported

var query = from c in new NemoQueryable<Customer>()
                where c.Country == "USA"
                order by c.CustomerID descending
                select c;
var customers = query.Skip(10).Take(20);
customers.ToList(); // Executes the query here
Clone this wiki locally