This project is read-only.
3
Vote

Add support for left join in Linq query syntax

description

It's currently possible to perform a left join with Linq query syntax, but it's far from intuitive. I suggest allowing this syntax:
from foo in foos
left join bar in bars on foo.Id equals y.FooId
...
It would translate to the same as this:
from foo in foos
join bar in bars on foo.Id equals y.FooId into tmp
from bar in tmp.DefaultIfEmpty()
...

comments