方法1: 2楼说的方法. 方法2: on new{o.id,0.code} equals new {p.id,p.code} 方法3: var tmp=from m in table1 from n in table2 where m.id==n.id && m.code==n.code select new{...}; 方法4: 你把后面的条件放在where语句里面去.