Skip to content
Advertisement

LINQ to SQL multiple tables left outer join

I have this query in SQL, and I want it to implement it in LINQ using Entity Framework, but how can I apply multiple tables left outer joins?

Advertisement

Answer

Here is how left outer joins are implemented with LINQ. You should use GroupJoin (join...into syntax):

This query joins three tables. You can join the rest of the tables the same way.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement