为了账号安全,请及时绑定邮箱和手机立即绑定

求助, SQL转Linq

求助, SQL转Linq

POPMUISE 2018-12-11 10:05:11
SELECTc.id,c.CustomersName as name,f.FollowUpTheWay as names,f.NextFollowDate,f.FollowDate,f.id as fidfrom dbo.Slgl_CustomerReception as c left join dbo.Slgl_FollowUpRecords as f on f.CustomersId = c.id and     f.id = (select TOP(1) id from dbo.Slgl_FollowUpRecords where CustomersId = c.id and FollowDate <= '2011-7-20' order by id DESC)where c.ProjectId = 9如何转成linq 或 linq to ef 呢?试了半天都不行
查看完整描述

2 回答

?
慕运维8079593

TA贡献1876条经验 获得超5个赞

这么复杂的sql 为什么要转呢?

查看完整回答
反对 回复 2018-12-15
  • 2 回答
  • 0 关注
  • 274 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信