0
두 개의 테이블 주소 & 사람이 있습니다. 사람들은 FK to F Address를 가지고 있습니다. 나는 사람들이없는 곳에 주소를 찾으려고 노력하고 있습니다 :EF4.1 및 왼쪽 외부 조인을 사용하여 null을 찾으십니까?
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 ...
주소가없는 사람의 주소를 반환하는 방법을 찾지 못했습니다.