简体   繁体   English

ODBC或ODP.Net for C#?

[英]ODBC or ODP.Net for C#?

I've been tasked with writing a few custom C# reporting programs for a client. 我的任务是为客户编写一些自定义C#报告程序。 These programs will only read the Oracle databases, never update or change the data. 这些程序只会读取Oracle数据库,永远不会更新或更改数据。

Is there any significant advantage to using ODP.Net over ODBC? 使用ODP.Net而不是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. 我知道有几个人主张使用Oracle的Instant Client(我认为它包括ODP.Net),因为它比客户端安装ODBC驱动程序更容易部署(据称)。 Having had no experience with deploying apps that rely on ODBC or ODP.Net, I can't make a good decision. 由于没有部署依赖ODBC或ODP.Net的应用程序的经验,我无法做出正确的决定。

So, any advice from someone that's been through this? 那么,来自某人的建议是什么?

Thanks so much! 非常感谢!

ODP.NET! ODP.NET! I can vouch for easy deployment with instant client and odp. 我可以保证使用即时客户端和odp轻松部署。 Definitely the way to go. 绝对是要走的路。

如有疑问,请为您的数据库使用本机ADO.Net托管提供程序,以支持ODBC驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM