select *
From Item i inner join Order o on i.OrderId = o.Id
left join OrderDealersByDistance d on o.Id = d.OrderId
left join SubOrder s on i.SubOrderId = s.Id
where d.[Status] = 1
我想用实体框架编写上面的查询。我更喜欢 DataContext 和扩展方法。我怎样才能写上面的查询?