Given the following database table hierarchy:
Region
------
RegionId
RegionName
Country
-------
CountryId
RegionId
CountryName
Destination
-----------
DestinationId
CountryId
DestinationName
Venue
-----
VenueId
DestinationId
VenueName
I have the following Entity Framework query:
var result = from region in context.Region.Include("Country.Destination.Venue")
select region
which will return all rows from all tables (outer join)
Is it possible to introduce a where clause so that only rows where the venue is not null are included (or use an inner join) ?
Thanks