Eager Loading:
context.Cars.Include(c=>c.Orders)
Explicit Loading:
context.Entry(c).Collection(x => x.Orders).Load();
what's the differences between Eager Loading and Explicit Loading? is it just syntax differences like Eager Loading uses Include
while Explicit Loading uses Load
?, but isn't that using Include
is also an "explicit" way to load navigation properties, so why Eager Loading is not considered the same as Explicit Loading?