I am unable to select all the records from the parent table using Linq to Entities.
This is a simple DB design (image below):
Image Link (Dead Link)
This is the exact output I want using Linq to Entities or Linq to SQL (image below):
Image Link (Dead Link)
When I use Linq to Entities or Linq To Sql, I can only get the records from the child table that has a foreign key relation. I am not able to get the null values as shown above.
I want to have the null values show just like when you use left outer join
.
Thanks for any help.