This is a very simple question, but "everything" is such a bad keyword for google lol.
I want to get all categories where none of its products are updated or have no products.
In other words, get all categories where all its products have not yet been updated, including all categories in which there are no products yet.
Is this the correct expression?
var categs = context.Categories.Where(c => c.Products.All(x => !x.Updated));
Aximili
source share