Entity Framework 6 - include derived type child property

c# entity-framework entity-framework-6

Popular Answer

.Include() Extension has just one function, which is to quickly load attributes as opposed to loading them slowly. That is only a choice that the query builder has.JOIN None other than s in SQL.

You're attempting to implement internal filteringInclude phrase that is incorrect.

I'm not sure whether filtering an inner collection can be accomplished with only one EF query, however you may check out a related question like How can I filter Entity Framework objects in nested collections?.

1
5/23/2017 11:46:22 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow