FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

Add support for FbDataAdapter FillAsync [DNET977] #896

Open firebird-automations opened 3 years ago

firebird-automations commented 3 years ago

Submitted by: Marvin Klein (marvinklein)

Please add the method FillAsync to the FbDataAdapter, just like it is available in MysqlDataAdapater, to make it easier to fill a data source asynchronous.

This should help all web developers who need to work with Firebird databases.

firebird-automations commented 3 years ago
Modified by: @cincuranet priority: Major \[ 3 \] =\> Minor \[ 4 \]
firebird-automations commented 3 years ago

Commented by: @cincuranet

Related conversation in runtime https://github.com/dotnet/runtime/issues/22109.

daiplusplus commented 3 years ago

I’m the maintainer of the (as far as I’m aware) only true async AsyncDbDataAdapter library for .NET Standard (https://github.com/Jehoel/AsyncDataAdapter/ ) - I designed it so that other ADO.NET providers can easily slot-in their own necessary functionality without needing to reimplement the entire async codebase of DbDataAdapter.

I suggest that you start-off by prototyping your implementation using my library (to save time if nothing else) and then you could copy+paste the bits you need of you want a dependency-free version as I believe the license is compatible.

Any thoughts?

(I saw this thread from the “this other issue referenced this issue” feature in GitHub. Don’t worry, I’m not spamming this message around GitHub)

cincuranet commented 3 years ago

At the moment I'm more or less waiting for the "official" API from .NET side, because it does not seem to be urgent.

daiplusplus commented 2 years ago

@cincuranet Based on this discussion, probably not until .NET 8 or 9 (so... 2025+): https://github.com/dotnet/runtime/issues/22109

cincuranet commented 2 years ago

Even if it's .NET 8 or later, I, personally, will not cry about that. :) But if it gets enough attention here, I will consider extra implementation in FbDataAdapter without the ADO.NET layers.