When dealing with recursive relationships, it's important to implement a ________ strategy to avoid infinite loops in queries.

  • Cascade
  • Eager loading
  • Lazy loading
  • Recursion
Implementing lazy loading in Entity Framework helps mitigate issues related to recursive relationships by only loading related entities when they are accessed, thus preventing infinite loops in queries.
Add your answer
Loading...

Leave a comment

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