Skip to content

Instantly share code, notes, and snippets.

@kitlabcode
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save kitlabcode/e2b2b09fec700e5943d5 to your computer and use it in GitHub Desktop.

Select an option

Save kitlabcode/e2b2b09fec700e5943d5 to your computer and use it in GitHub Desktop.
LINQ Full Outer Exclusive Join
var fullOuterExclusiveJoin = Context.Artists.FullOuterExclusiveJoin(Context.Albums, artist => artist.Id, album => album.ArtistId,
(artist, album) => new { ArtistName = artist != null ? artist.Name : "Not Found", AlbumName = album != null ? album.Name : "Not Found" });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment