Skip Navigation

Posts
0
Comments
2
Joined
2 yr. 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;