Entity Framework supports different query execution modes, such as _______ and _______.
- Deferred Loading
- Eager Loading
- Explicit Loading
- Lazy Loading
Entity Framework provides various query execution modes to retrieve data from the database efficiently. Lazy loading delays the loading of related entities until they are explicitly accessed, reducing the initial load time. Eager loading loads related entities along with the main entity in a single query, which can improve performance by reducing the number of database round-trips. Explicit loading allows developers to selectively load related entities on demand. Deferred loading, also known as delayed loading, defers the loading of related entities until they are accessed for the first time, which can enhance performance by fetching only the necessary data when needed.
Loading...
Related Quiz
- The ___________ class is responsible for managing the database schema in LINQ to Entities.
- In LINQ to SQL, what is the purpose of the DataContext class?
- Code-First development allows you to define the data model using _________ classes.
- What is the difference between a dataset and a data reader in ADO.NET?
- What is the primary purpose of connection pooling in ADO.NET?