有誰知道是否有工具將T-SQL代碼轉換爲LINQ? 我努力尋找下面的SQL代碼轉換爲LINQ的方式:使用組內部連接轉換爲LINQ
select * from actions as a
inner join
(
select max(actionid) as maxactionid, threaduid from actions as a
where a.actiontypeid not in (3,4)
group by threaduid
) as a2 on a2.maxactionid = a.actionid
where a.userid <> 2
任何幫助表示讚賞!
重複的http://stackoverflow.com/questions/296972/sql-to-linq-tool – Peter