2
我有以下SQL查詢和我試圖將其轉換爲LINQ,但沒有成功:分組和點心LINQ到實體
select
at.financialaccountid,
SUM(creditamount)-SUM(debitamount)
from account_transactions at
where at.financialaccountid = 47
and ledgervisible = 1
GROUP BY at.financialaccountid
希望有人能指導我在此。
謝謝。