Skip to content
Advertisement

Converting complex SQL with FULL JOIN to Linq

I am trying to convert a SQL statement to Linq/Entity Framework, and am having a difficult time. Below is the SQL.

The FULL JOIN and the GROUP BY seem to be what I’m struggling most with. I’ve reviewed this SO answer and I understand how to execute a FULL JOIN on its own, but can’t figure out how to integrate that into the larger overall query.

TYA for any answers.

Advertisement

Answer

Try this

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