Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SqlBulkCopy with Informix

Is there any way to use the SqlBulkCopy class with Informix database, or any alternative, because really I need this class behavior with my Informix database.

What I try to do is described in SO 6856004.

EDIT :

I don't find IfxBulkCopy at all.

enter image description here

like image 352
Anyname Donotcare Avatar asked Sep 28 '26 04:09

Anyname Donotcare


1 Answers

There appears to be an IfxBulkCopy class in the ADO.NET provider for Informix. The class documentation is here:

http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp?topic=/com.ibm.net_cc.doc/dqx1db2bulkcopyclass.htm

If their provider is a good one, the usage of this class should be very similar, if not the same, as the SqlBulkCopy class available for SQL Server. This will likely mean it takes a DataTable or an IDataReader implementation to WriteToServer.

Bear in mind it is housed within the "IBM Data Server Provider for .NET", which might be different to where the standard ADO.NET provider stuff is housed.

like image 96
Adam Houldsworth Avatar answered Sep 30 '26 00:09

Adam Houldsworth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!