首页 > 技术文章 > 【转】LINQ多表关联关联条件

wdw31210 2014-03-13 09:33 原文

转:http://www.dingcankong.com/linq%E4%B8%A4%E8%A1%A8%E8%81%94%E5%90%88%E6%9F%A5%E8%AF%A2/

 

答案如下:

var message =(from tbuser in linq.hUsers
from tbmes in linq.hMessages
where tbmes.HUserIDSend == tbuser.HautoID
sel……

推荐阅读