I need to do a LINQ2DataSet query that does a join on more than one field (as
var result = from x in entity join y in entity2 on x.field1 = y.field1
I used tuples to do that, this is an example for two columns :
var list= list1.Join(list2, e1 => (e1.val1,e1.val2), e2 => (e2.val1,e2.val2), (e1, e2) => e1).ToList();