0
我有两个表,地址&人。人们有FK来解决。我试图找到没有人的地址:EF4.1和左外连接找到空值?
select id from Address a
left outer join person p on p.address_id = a.id
where p.address_id is null
这是可能的使用LINQ to Entities?我尝试了几个变化
var results = from addr in _context.Addresses
from ppl in addr.People
where ppl == null ...
但似乎无法弄清楚如何返回没有人的地址。