Skip to content

Add interception for DbDataReader.Close#28290

Merged
ajcvickers merged 1 commit intomainfrom
DisposableClosable0621
Jun 23, 2022
Merged

Add interception for DbDataReader.Close#28290
ajcvickers merged 1 commit intomainfrom
DisposableClosable0621

Conversation

@ajcvickers
Copy link
Contributor

Part of #626
Fixes #23535

Also added tests to:

Part of #626
Fixes #23535

Also added tests to:
 - Show that this can be used to get statistics from a query, as requested in #23535.
 - Show that Close and/or Dispose can be suppressed, as requested in #24295.
@ajcvickers ajcvickers requested a review from a team June 21, 2022 20:21
@ajcvickers ajcvickers merged commit 62fb246 into main Jun 23, 2022
@ajcvickers ajcvickers deleted the DisposableClosable0621 branch June 23, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add interception event to be fired when EF has finished consuming a result set

2 participants