Using EF Core 1.1.0
I have a model that has collections that themselves have collections.
public class A {
public string Ay {get;set;}
public L
Fortunately you have an option. Instead of directly calling Load
, you can use Query
method and apply as many Include
/ ThenInclude
as you wish.
For your sample, it would be something like this:
context.Entry(A).Collection(a => a.Bees)
.Query()
.Include(b => b.Seas).ThenInclude(c => c.Sigh)...
.Load();