0

We have an existing ODBC connection (for example, a legacy product which is already connected with database and also can return a ODBC connection handle), and we want to wrapper this connection handle through ADO.net. Then our secondary development user can use this ADO.net wrapper library to access the database.

How would one go about doing this?

4

1 回答 1

0

是的。ADO.NET 有一个 ODBC 提供程序,实际上是以数据库中立的方式使用 ADO.NET 的首选方式,因为 OleDb 并没有像 MS 所希望的那样流行起来。

参考:http: //msdn.microsoft.com/en-us/library/system.data.odbc.aspx

于 2012-11-29T02:43:39.717 回答