C# 从 .Net 连接到 Informix 数据库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/192477/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-03 17:28:04  来源:igfitidea点击:

Connecting to Informix database from .Net

c#.netdatabase-connectioninformix

提问by user26918

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

从 .Net 连接到 Informix 数据库的最佳方式是什么?

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

我正在开发一个基于旧版 Informix DB 的客户端-服务器应用程序,该数据库曾经由 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
  1. 要快
  2. 不需要更改数据库服务器
  3. 除了 de .Net Framework 2.0 之外,没有 ODBC 和依赖项

Thanks in advance for your help.

在此先感谢您的帮助。

采纳答案by Jorge Ferreira

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

可以在此处找到用于 OleDb 或 ADO.NET 的连接字符串。

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

看看这篇关于如何使用 ADO.NET 连接到 Informix 数据库的文章

回答by BFree

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

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.

看看是否有帮助。另外,内置的 ODBC 或 OLEDB 驱动程序怎么样?你试过那些吗?这些可能有用。

回答by coder1

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

我们从 .NET 连接到 Informix,但我们通过用 FourJ 的 BDL 编写的 Web 服务来实现

回答by Tim Haynes

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/

您可能想研究 OpenLink 的 ADO.Net 多层 Informix 驱动程序(只需在客户端上安装所有内容):http: //uda.openlinksw.com/dotnet/mt/dotnet-informix-mt/