请帮我将以下SQL转换为LINQ:
SELECT Row_Number() OVER (ORDER BY NewHireID) AS RowNo,
NewHireID,
SUM(HoursWorked) WeeklyWorkedHours,
CONVERT(varchar, DATEPART(WK, (WORKDATE))) WeekNo
FROM dbo.TBLTIMESHEET
GROUP BY NewHireID, DATEPART(WK, (WORKDATE))
使用LINQPAD但是出现以下错误 SQL语法错误:函数DATEPART的参数WK无效。
提前致谢。