So I have structures that are related in the follwing way:

  • Locations has many Providers
  • Providers has many Health Topics

I know that I can eager load all Locations with related Providers and Health Topics very easily using using something like this:


However how can I eager load the reverse relationship, loading all Health Topics with their related Providers and Locations? The eager loading function seems to go from parent to children but not from children to parent...though I could be missing something there?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.