views:

56

answers:

2

I have a table which I am querying via Entity Framework:

using (Entities context = new Entities())
{
    var customizations = context.Customizations.Include("aspnet_Users").ToList();
}

However, I want to included another table, "SelectedCustomizations" as a LEFT OUTER JOIN into the above query.

Any ideas?

A: 

I'd say you are doing something wrong. From your question it seems that you want to Join "aspnet_Users" table with Customizations and with SelectedCustomizations.

For that you better off with Join() method.

I'd suggest you to get Linqpad, it comes with loads of examples. Joins are covered too.

Alexander Taran
A: 

Hello,

Check out this resource: http://www.devart.com/forums/viewtopic.php?p=43652 The first post has two related resources for outer joins.

Brian