Hello, How would I sub-query the child collection in an including clause to limit the number of child objects that come back. For example, when I do the following: from c in Customers select c).Including(c => (from o in c.Paychecks where (o.OrderDate >= startDate && o.OrderDate <= endDate) select o)); An exception is thrown that states "Including expression must refer to an immediate property". Is there a way to do the above?
Read More...