嗨,我是 LINQ 的新手,需要将以下 SQL 转换为 LINQ。有人可以帮我怎么写吗?
select emp.id, emp.name from employee emp
left join department dept on dept.id = emp.deptid
and (emp.managerid = '001' or (emp.manager in (select managerid from manager where location Contains('l001','l002','l003') and state =1)))
谢谢