Skip to content

Use ReadAsync in the async read path#78

Merged
seesharper merged 1 commit intomasterfrom
use-read-async
Feb 19, 2026
Merged

Use ReadAsync in the async read path#78
seesharper merged 1 commit intomasterfrom
use-read-async

Conversation

@seesharper
Copy link
Owner

Summary

  • Added ReadAsync<T> extension method on DbDataReader in DataReaderExtensions
  • Added ReadWithNavigationPropertiesAsync<T> and ReadWithoutNavigationPropertiesAsync<T> that use DbDataReader.ReadAsync instead of the synchronous Read
  • Updated DbConnectionExtensions.ReadAsync<T> to call the new async read path instead of the synchronous dataReader.Read<T>()

Test plan

  • All 225 existing tests pass

🤖 Generated with Claude Code

Added async versions of ReadWithNavigationProperties and ReadWithoutNavigationProperties that use DbDataReader.ReadAsync instead of Read, ensuring the async path is truly non-blocking.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@seesharper seesharper merged commit 15ed9e8 into master Feb 19, 2026
2 checks passed
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.

1 participant

Comments