I would like to be able to include a child entity with the main entity in my linq to sql query.
Public Function GetEmployees() As IEnumerable(Of Employee)
For LINQ to SQL you can change the DataloadOptions (code example in C#):
var dlo = new DataLoadOptions(); dlo.LoadWith<Employee>(p => p.department); dc.LoadOptions = dlo;
( Include() is only supported for Linq to Entities)
Include()