摘要: 好处:1、不安装客户端也能访问服务器上的oracle(假设Application Server与DB Server 分开)2、不需要安装ODAC3、不需要配置TnsNames.Ora文件缺点:不能使用odac for .net中对应的工具步骤:如果不安装Oracle11g的客户端则需要在程序的debug目录下拷贝如下几个dll文件oci.dlloracle.dataaccess.dlloraops11w.dlloraociei11.dll这几个文件可以从下载的ODAC安装包中找到,我下载的是ODTwithODAC112030.zip,由于这些文件都放在..\stage\Components\. 阅读全文
posted @ 2012-05-19 16:56 gisdream 阅读(9121) 评论(1) 推荐(0) 编辑
摘要: Oracle 数据访问组件 (ODAC) 全称:Oracle Data Access Components优点:由于微软在.net framework4中会将System.Data.OracleClient.dll deprecated,而且就访问效率和速度而言,System.Data.OracleClient.dll与 Oracle.DataAccess.dll相比,微软的确实没有oracle提供的类库有优势,所以我放弃了使用多年的 System.Data.OracleClient.dll,取而代之的是odp.net1. ODAC的安装服务器端:0racle10g,11g 都行客户端:ora 阅读全文
posted @ 2012-05-19 16:53 gisdream 阅读(33518) 评论(4) 推荐(2) 编辑