我使用 linqer 想要这个 sql 来 liqn 查询,但我有问题
select * from Project where Id in (select Top 3 ForeignId from ActivityLog
group by ForeignId order by count(*) desc)
问题:SQL 无法转换为 LINQ:在当前数据上下文中找不到字段 [Id in (select Top 3 ForeignId from ActivityLog group by ForeignId order by count(*) desc)]。