var expr =
  (from c in customers
    from o in c.Orders
    select new { o.IdProduct, o.Quantity }
  ).Min(o => o.Quantity);
