In LINQ to Entities, the ________ method is used to explicitly load related data.

  • Attach()
  • Include()
  • Load()
  • Select()
The correct answer is Load(). In Entity Framework, the Load() method is used to explicitly load related data into the context. It is particularly useful when lazy loading is disabled or when you want to load related data eagerly.
Add your answer
Loading...

Leave a comment

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