Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicate where SQL comes from (SaveChanges, LINQ query, etc.) in IDbCommandInterceptor #23719

Closed
ghost opened this issue Dec 17, 2020 · 1 comment
Labels
area-interception closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. community-contribution customer-reported type-enhancement
Milestone

Comments

@ghost
Copy link

ghost commented Dec 17, 2020

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 ajcvickers changed the title Statement-Type for Interceptors Indicate where SQL comes from (SaveChanges, LINQ query, etc.) in IDbCommandInterceptor Dec 18, 2020
@ajcvickers
Copy link
Member

@tsproesser There isn't a way to do this, but agree that it would be useful.

@ajcvickers ajcvickers added this to the Backlog milestone Dec 18, 2020
@ajcvickers ajcvickers modified the milestones: Backlog, 6.0.0 Jul 28, 2021
@ajcvickers ajcvickers added community-contribution closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. labels Jul 28, 2021
@ajcvickers ajcvickers modified the milestones: 6.0.0, 6.0.0-rc1 Aug 12, 2021
@ajcvickers ajcvickers modified the milestones: 6.0.0-rc1, 6.0.0 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-interception closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. community-contribution customer-reported type-enhancement
Projects
None yet
Development

No branches or pull requests

1 participant