Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Why odp.net does not implement ExecuteDbDataReaderAsync?

OnurGumusMay 3 2019 — edited May 6 2019

According to Microsoft documentation for DBCommand.ExecuteDbDataReaderAsync: Providers should implement this method to provide a nondefault implementation for  overloads. The default implementation invokes the synchronous method and returns a completed task, blocking the calling thread.

However I can see OracleManagedDataAccess did not implement this in OracleCommand class. As a result  all reading calls via oracle are blocking and synchronous! I find this very odd and very counter productive in terms of performance. Is there any particular reason  this method is not overridden in OracleCommand?

This post has been answered by Alex Keh-Oracle on May 3 2019
Jump to Answer
Comments
Post Details
Added on May 3 2019
5 comments
344 views