Skip to content

Interceptor for DbUpdateConcurrencyException - #28305

Merged
ajcvickers merged 2 commits into
mainfrom
DontMugYourself0622
Jun 29, 2022
Merged

Interceptor for DbUpdateConcurrencyException#28305
ajcvickers merged 2 commits into
mainfrom
DontMugYourself0622

Conversation

@ajcvickers

@ajcvickers ajcvickers commented Jun 23, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interception for DbUpdateConcurrencyException

2 participants