日期:2014-05-20 浏览次数:20988 次
var query=from o in Org
join x in ( from u in User join uo in UserOrg
on u.userid equals uo.userid into lg
from uo in lg.DefaultIfEmpty()
select new {u,uo})
on o.orgid equals x.orgid into lg2
from x in lg2.DefaultIfEmpty()
select o;