Left Outer Join LINQ Query

Here is a good example for creating a left outer join in LINQ for entities;

 

If you need to perform other queries to get extra data for your main query list, first perform your main query first and convert the results to a list (see above query). You can then perform extra queries on this list to populate more fields. (see query below).

 

Then just do this to display the results onto a grid;

This entry was posted in C# Development. Bookmark the permalink.