问题
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:
- To be fast
- DB server changes not needed
- No ODBC and no dependencies, other than de .Net Framework 2.0
Thanks in advance for your help.
回答1:
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.
回答2:
We connect to Informix from .NET, but we do it via web services that are written in FourJ's BDL
回答3:
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.
回答4:
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/
来源:https://stackoverflow.com/questions/192477/connecting-to-informix-database-from-net