Indicate where SQL comes from (SaveChanges, LINQ query, etc.) in IDbCommandInterceptor
Opened this issue · 1 comments
Deleted user commented
Maybe this already is possible, but noone could have helped me on Stackoverflow: https://stackoverflow.com/questions/65287475/efcore-5-0-interceptor-statement-type
I'd like to know the Statement-Type in interceptors, so can tell e.g. Update-Statements apart from Select-Statements.
ajcvickers commented
@tsproesser There isn't a way to do this, but agree that it would be useful.