What is the impact of Lazy Loading on the performance of an Entity Framework application?

  • Decreases performance
  • Depends on the scenario
  • Increases performance
  • No impact
Lazy loading can decrease performance as it may lead to the N+1 query problem, where multiple round trips to the database are made. Each navigation property access triggers a separate query, which can significantly affect performance.
Add your answer
Loading...

Leave a comment

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