Materializing an ICollection structure containing subclasses

entity-framework entity-framework-6

Accepted Answer

ZZZ_tmp
3
8/21/2017 10:41:08 AM

Popular Answer

If you are using EF Core 2.1 or later, this capability is available right out of the box.

Asked for in 2010:

When in an data model for entity framework has a navigation property it is not posseble to eager load that navigation property besides when using OfType<> or when eager loading the derived type itself by a navigation property.

Observation from 2018:

The feature is part of EF Core 2.1, which is currently in preview. Please create issues in our issue tracker if you find any problems.



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