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.
Join Stack Overflow to learn, share knowledge, and build your career.
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.
There appears to be an IfxBulkCopy
class in the ADO.NET provider for Informix. The class documentation is here:
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.
using IBM.Data.Informix;
but it doesn't appear at all in this name space. I added reference to this dll . I get this error The type or namespace name 'IfxBulkCopy' could not be found (are you missing a using directive or an assembly reference?
all the time.
– Anyname Donotcare
Aug 17 '11 at 12:56
IfxBulkCopy
class appeared to be in a package called "IBM Data Server Provider for .NET", try downloading that. According to the documentation in the link, it should be in a DLL called IBM.Data.Informix.dll.
– Adam Houldsworth
Aug 17 '11 at 12:57