To optimize performance in large data sets, using ________ loading over lazy loading is recommended in Entity Framework.

  • Bulk
  • Deferred
  • Eager
  • Pre-loading
Eager loading involves retrieving related data along with the main data in a single query, reducing the number of database trips. This is beneficial for large datasets as it minimizes database round-trips, enhancing performance. Lazy loading, on the other hand, delays the retrieval of related data until it's specifically requested, potentially resulting in numerous individual database calls.
Add your answer
Loading...

Leave a comment

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