通过连接.NET的DbConnection到DB2 [英] Connecting to DB2 via .NET DbConnection

查看:215
本文介绍了通过连接.NET的DbConnection到DB2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的当前DB连接提供者模型依赖于数据库连接使用的DbConnection(System.Data这)的对象。

Our current DB Connection provider model relies on database connectivity to use DbConnection (System.Data) based objects.

我们可以通过OdbcConnection连接到DB2(* NIX * Windows)中,但是我们想允许使用原生DB2驱动程序。

We can connect to DB2 (*Nix * Windows) via OdbcConnection, but we would like to allow the use of native DB2 Drivers.

有没有办法做到这一点(无论是.NET Framework中,开放源代码或(最后的选择)的供应商),而从我国目前的DAL模式打破了?

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

推荐答案

我觉得你的问题都在这里找到答案: <一href="http://www.$c$cproject.com/KB/database/DotnetDb2.aspx">http://www.$c$cproject.com/KB/database/DotnetDb2.aspx

I think your questions are answered here: http://www.codeproject.com/KB/database/DotnetDb2.aspx

有相当多的选择在那里。

There are quite a few options there.

这篇关于通过连接.NET的DbConnection到DB2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆