SHARE
TWEET

Untitled

a guest Nov 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db.StockItemTransactions
  2. .Where(x => x.StockItemID == id)
  3. .GroupBy(x => x.CustomerID)
  4. .OrderByDescending(x => x.Sum(z => z.Quantity * -1))
  5. .Take(5)
  6. .ToList();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top