将SQL ROLLUP转换为LINQ?

时间:2016-08-09 09:48:39

标签: asp.net-mvc linq

SELECT OrderID, SUM(Amount) AS Amount
FROM CustomerOrders
GROUP BY OrderID WITH ROLLUP

如何将上述sql转换为linq?

0 个答案:

没有答案