TimeData table
- userID
- taskID
- hours
ApprovedTasks table (the one that should contain nulls)
- taskID
- userID
SQL查询看起来像这样:
select * from TimeData td
left join ApprovedTasks at
on at.taskID = td.taskID and at.userID = td.userID
where at.taskID is null
有什么方法可以使用LINQ to Entity查询来实现这一点吗?
短暂性脑缺血发作