如何在EF中实现left join(左联接)查询_
                var TestList = from p in context.PersonalInformation
                               join d in context.Departure
                               on p.ID equals d.UID into DD
                               from dc in DD.DefaultIfEmpty()
                               select new
                               {
                                   ID = p.ID,
                                   Name=dc.Name
                               };
            }

 

菜鸟de成长历程的博客-CSDN博客_ef实现左连接