views:

1043

answers:

4

What's the best way to connect to a Informix database from .Net?

I'm developing a client-server application based on a legacy Informix DB which used to be connected by JDBC.

I need it, from the most important to the least:

  1. To be fast
  2. DB server changes not needed
  3. No ODBC and no dependencies, other than de .Net Framework 2.0

Thanks in advance for your help.

+2  A: 

The connections strings to use with OleDb or ADO.NET can be found here.

Take a look at this article on how to connect to an Informix database using ADO.NET.

smink
A: 

http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.relnotes.doc/uc3/netrel.htm

See if that helps. Also, what about the built in ODBC or OLEDB drivers? Have you tried those? Those might work.

BFree
A: 

We connect to Informix from .NET, but we do it via web services that are written in FourJ's BDL

Dana
A: 

You might like to investigate OpenLink's Multi-Tier Informix driver for ADO.Net (just install everything on the client): http://uda.openlinksw.com/dotnet/mt/dotnet-informix-mt/

Tim Haynes