linq多表查询

 var l = from al in db.T_DmcDataAirline
                        join apt in db.T_DmcDataAirportTerminal on al.AirportTerminaID equals apt.AirportTerminaID
                        where apt.AirportID == nAriport
                        select al;
posted on 2009-01-04 13:35  prayforsmile  阅读(584)  评论(0编辑  收藏  举报