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
As a full method chain that would look like this:
lista.SelectMany(a => listb.Where(xi => b.Id == a.Id && b.Total != a.Total), (a, b) => new ResultItem { Id = a.Id, ATotal = a.Total, BTotal = b.Total }).ToList();