LINQ Include Values of children error
问题 I have this query: var allValues = from p in _pContext.Persons where p.Id == currentPerson.Id from i in p.Items //This is a list that contains "Items" select i; I want to have all the Items and all the nested values that they contain. How do I load these when executing this query, too? I know theres the include statement that I can use on the context, but that doesnt lead anywhere. If I f.e. do this: var allValues = from p in _pContext.Persons.Include("Items.Properties") where p.Id ==