Custom caching solutions in Entity Framework may require overriding the ________ method to intercept query execution.

  • OnQueryExecuting
  • OnQueryExecuted
  • OnModelCreating
  • OnSaveChanges
Option 2, OnQueryExecuted, is correct. This method allows developers to intercept queries after they've been executed, enabling custom caching solutions in Entity Framework.
Add your answer
Loading...

Leave a comment

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