ho qualcosa di simile a questo:LINQ to SQL .sum() senza ... in
var itemsInCart = from o in db.OrderLineItems
where o.OrderId == currentOrder.OrderId
select new { o.OrderLineItemId, ..., ..., o.WishListItem.Price}
esiste un modo per fare un
itemsCart.Sum() //not sure what to pass into the function
per ottenere la somma di o. WishListItem.Prezzo o devo ottenere un altro iQueryable < T> dal database con gruppo ... in?
che è ancora meglio, grazie –