immutabletest

joined 2 years ago
[–] [email protected] 4 points 2 years ago* (last edited 2 years ago)

LINQ looks great with the query syntax:

var productsByCategory =
    from p in dbContext.Products
    where p.Price < 50
    group by p.Category.Id
    select p;