Pre .NET 4.0 - the EF does not support the DefaultIfEmpty() clause. Is there a better way of performing a left join on a query?
A:
Yes, just don't use the join
syntax at all. It's almost never correct to use join
in LINQ to Entities (or LINQ to SQL). Use associations instead.
Craig Stuntz
2010-02-23 21:24:43