linq 左连接 日志记录

var list = from a in ooKhtable
join b in ooGeTiHu on a.Selfemploy equals b.Guid into ab
from abb in ab.DefaultIfEmpty()
select new {
a?.khname,
a?.khID,
abb?.Name
};

你可能感兴趣的:(linq,c#)