Created
May 24, 2015 19:31
-
-
Save kitlabcode/c892c1fec1cbcf9da2b6 to your computer and use it in GitHub Desktop.
LINQ Right Exclusive Join
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var rightExclusiveJoin = Context.Artists.RightExclusiveJoin(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