我正在尝试将此 SQL 查询转换为 LINQ,但未能这样做.. 任何帮助表示赞赏...
SELECT [t0].id,
sum([t1].[total_Statements]) AS [value],
sum( [t1].[totalpage] - [t1].[total_Statements]) AS [value2],
sum( [t1].[total_bad]) AS [value3],
[t0].[biller_id]
FROM [dbo].[upload_t] AS [t0]
left JOIN [dbo].[printer] AS [t1] ON
((CONVERT(NVarChar,[t0].[id])) = [t1].bill])
where (([t0].[biller_id] = 10)
group by [t0].[biller_id],[t0].id,[t0].[date]
ORDER BY [t0].[date] DESC