¡@

Home 

c# Programming Glossary: b.col1

Linq - left join on multiple (OR) conditions

http://stackoverflow.com/questions/1264993/linq-left-join-on-multiple-or-conditions

in tablea join b in tableb on new a.col1 a.col2 equals new b.col1 b.col2 group a by a into g select new col1 a.col1 col2 a.col2.. must match. I need to get the join to match on a.col1 b.col1 OR a.col2 b.col2. I know it must be easy but I've coming up.. fine from a in tablea from b in tableb .Where b a.col1 b.col1 a.col2 b.col2 .DefaultIfEmpty select new col1 a.col1 col2 a.col2..