verdie-g / StoredProcedureEFCore

Entity Framework Core extension to execute stored procedures
MIT License
192 stars 44 forks source link

Unable to cancel DbDataReader async extension methods #26

Closed vassilvk closed 4 years ago

vassilvk commented 4 years ago

The current implementation of the async DbDataReader extension methods (such as ToListAsync), do not offer overloads with cancellation tokens.

This makes it impossible to control the lifetime of the underlying DbDataReader.ReadAsync and DbDataReader.IsDBNullAsync through an external cancellation token.

vassilvk commented 4 years ago

@verdie-g, FYI, I am working on a pull request to fix the above.