In eager loading, the ________ method is used in Entity Framework to include related data in the query.

  • Attach
  • Find
  • Include
  • Load
In Entity Framework, the Include method is utilized for eager loading, allowing developers to specify related entities to be loaded along with the main entity in a single query, thus reducing database round-trips.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *