用于 C# 的 ODBC 或 ODP.Net?

发布于 2024-11-26 14:10:55 字数 261 浏览 1 评论 0原文

我的任务是为客户编写一些自定义 C# 报告程序。这些程序只会读取 Oracle 数据库,而不会更新或更改数据。

与 ODBC 相比,使用 ODP.Net 有什么显着的优势吗?我知道有几个人提倡使用 Oracle 的即时客户端(我认为它包括 ODP.Net),因为它(据说)比让客户端安装 ODBC 驱动程序更容易部署。由于没有部署依赖于 ODBC 或 ODP.Net 的应用程序的经验,我无法做出好的决定。

那么,有经历过这种情况的人有什么建议吗?

非常感谢!

I've been tasked with writing a few custom C# reporting programs for a client. These programs will only read the Oracle databases, never update or change the data.

Is there any significant advantage to using ODP.Net over ODBC? I know several people that advocate using Oracle's Instant Client (I think it includes ODP.Net) because it's easier to deploy (supposedly) than having the client install the ODBC drivers. Having had no experience with deploying apps that rely on ODBC or ODP.Net, I can't make a good decision.

So, any advice from someone that's been through this?

Thanks so much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

〗斷ホ乔殘χμё〖 2024-12-03 14:10:55

ODP.NET!我可以保证使用即时客户端和 odp 可以轻松部署。绝对是要走的路。

ODP.NET! I can vouch for easy deployment with instant client and odp. Definitely the way to go.

荒路情人 2024-12-03 14:10:55

如有疑问,请使用数据库的本机 ADO.Net 托管提供程序,而不是 ODBC 驱动程序。

When in doubt use the native ADO.Net Managed Provider for your database in favor of ODBC Drivers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文