Advertisement
Guest User

Untitled

a guest
Apr 28th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. // "Left outer join" the "tables" T1 and T2 on the "column" C
  2. var query = from x in T1
  3. join y in T2 on x.C equals y.C into T3
  4. from z in T3.DefaultIfEmpty()
  5. select new { ... } // include z==null logic where values are to differ depending on whether there was a match
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement