Connecting to DB2 through .NET DbConnection

Our existing database connection provider model relies on a database connection to use DbConnection-based objects (System.Data).

We can connect to DB2 (* Nix * Windows) through OdbcConnection, but we would like to allow the use of the built-in DB2 drivers.

Is there a way to do this (either .Net framework, OpenSource or (last choice)) without breaking away from our current DAL model?

+3
source share
1 answer

There is another method not mentioned in the article above, and this is using DbNetData strong>, which simplifies access to the database and has the ability to connect to DB2 with .NET. Source posted on CodePlex below:

Dbnetdata

+2

Source: https://habr.com/ru/post/1699335/


All Articles