Grupo por várias colunas

Como faço para agrupar várias colunas GroupBy em LINQ

Algo semelhante a isso no SQL:

SELECT * FROM <TableName> GROUP BY <Column1>,<Column2>

Como posso converter isso para LINQ:

QuantityBreakdown
(
    MaterialID int,
    ProductID int,
    Quantity float
)

INSERT INTO @QuantityBreakdown (MaterialID, ProductID, Quantity)
SELECT MaterialID, ProductID, SUM(Quantity)
FROM @Transactions
GROUP BY MaterialID, ProductID

questionAnswers(13)

yourAnswerToTheQuestion