Using ________ type of loading for related entities can significantly affect performance in Entity Framework.
- Lazy
- Eager
- Deferred
- Explicit
The correct option is "Eager". Eager loading retrieves all related entities in a single query, which can lead to performance issues.
Loading...
Related Quiz
- What is the role of DbContext in Entity Framework?
- To apply migrations at runtime, the ________ method is used in Entity Framework.
- In a complex model with mixed inheritance, ________ can be used to resolve ambiguity in the mapping.
- The ________ strategy involves creating a single table for the base class and separate tables for each derived class.
- What impact does lazy loading have on the performance of an application with numerous small transactions?