The ________ extension method can be used to include related entities in a query result.

  • Concat()
  • Include()
  • Join()
  • SelectMany()
The correct answer is Include(). The Include() extension method is used to specify related entities to be included in the query result. It is commonly used to eagerly load navigation properties and retrieve related data along with the main entity.
Add your answer
Loading...

Leave a comment

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