开发者

SqlBulkCopy with Informix

开发者 https://www.devze.com 2023-03-28 15:45 出处:网络
Is there any way to use the SqlBulkCopy class with Informix database, or any al开发者_StackOverflow中文版ternative, because really I need this class behavior with my Informix database.

Is there any way to use the SqlBulkCopy class with Informix database, or any al开发者_StackOverflow中文版ternative, 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.

SqlBulkCopy with Informix


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号