title: Linq to SQL .Sum() without group ... into
body: <p>I have something like this:</p>
  
  <pre><code>var itemsInCart = from o in db.OrderLineItems
                    where o.OrderId == currentOrder.OrderId
                    select new { o.OrderLineItemId, ..., ..., o.WishListItem.Price}
  </code></pre>
  
  <p>is there any way to do a </p>
  
  <pre><code>itemsCart.Sum() //not sure what to pass into the function
  </code></pre>
  
  <p>to get the sum of o.WishListItem.Price or do i have to get another iQueryable&lt; T> from the database with group ... into?</p>