EF 多表联查方法
两个表的linq
private DataContext dc;
dc = new DataContext();
var heji = (from da in dc.q1
join du in dc.q2
on da.danhao equals du.danhao
where da.Name == "XXXX"
select new { du.id, da.name, da.age, du.birthday, du.school }).Distinct();
鹰击长空,鱼翔浅底