Skip to content

Interceptor for DbUpdateConcurrencyException #28305

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jun 29, 2022
Merged

Conversation

ajcvickers
Copy link
Contributor

@ajcvickers ajcvickers commented Jun 23, 2022

Part of #626
Fixes #28315
Part of #16260
Allows #10443 functionally, although not optimally

Relational version allows access to the connection, command, and reader from an async context, such that database commands could be used in the interceptor.

@ajcvickers ajcvickers requested a review from a team June 23, 2022 22:48
DbContext context,
RelationalDataReader reader,
IReadOnlyList<IUpdateEntry> entries,
Exception exception,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be more specific?

Part of #626
Part of #16260
Allows #10443 functionally, although not optimally

Relational version allows access to the connection, command, and reader from an async context, such that database commands could be used in the interceptor.
@ajcvickers ajcvickers force-pushed the DontMugYourself0622 branch from 6b1fb61 to 898e146 Compare June 24, 2022 12:35
@ajcvickers ajcvickers merged commit 7debdaa into main Jun 29, 2022
@ajcvickers ajcvickers deleted the DontMugYourself0622 branch June 29, 2022 08:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interception for DbUpdateConcurrencyException
2 participants