If I have 3 classes A, B and C:
class A { public B b { get; set; } public C c { get; set; } } class B { public C c { get; set; } } class C { ... } When I make a query like:
Context.A.Where(...).Include(x => x.b).Include(x => x.c); Entity loads the C object in both A and B, duplicating data. Is there a way to prevent it? I don't use lazy loading.