EF4.1 multiple nested entity Includes gets NotSupportedException?
问题 Edit: Updated problem description based on testing - 12 Sep 2011. I have this query that throws a NotSupportedException ("Specified method is not supported.") whenever I call .ToList(). IQueryable<FileDefinition> query = db .FileDefinitions .Include(x => x.DefinitionChangeLogs) .Include(x => x.FieldDefinitions.Select(y => y.DefinitionChangeLogs)) // bad .Include(x => x.FieldDefinitions.Select(y => y.FieldValidationTables)) // bad .Where(x => x.IsActive); List<FileDefinition> retval = query