Linq 中 表连接查询

1 public void Test(){
2 
3     var query = from a in A join b in B on A.Id equals B.Id into c
4                   from d in c.DefaultIfEmpty()
5                   select d;
7 }                

 

posted @ 2014-07-12 16:42  b̶i̶n̶g̶.̶  阅读(274)  评论(0编辑  收藏  举报