SELECT
[ProductErpIdentifier],
[PriceValue],
[ManufacturerProductIdentifier],
SUM([QuantityOrdered]) as [QuantityOrdered]
FROM
[eCommerceDev].[dbo].[OrderItem]
GROUP BY
[ProductErpIdentifier],[PriceValue],[ManufacturerProductIdentifier]
ORDER BY
[QuantityOrdered] desc
我应该如何编写一个 CreateCriteria 来像上面的例子一样生成 SQL?