.NET4.0 System.Data.OracleClient过时

.NET4.0 System.Data.OracleClient过时

 

微软官方解释:

http://msdn.microsoft.com/zh-cn/library/77d8yct7(v=vs.100).aspx

System.Data.OracleClient 中的类型已过时。这些类型在 .NET Framework 4 中受到支持,但将在以后的版本中删除。Microsoft 建议您使用第三方 Oracle 提供程序。

本节说明特定于适用于 Oracle 的 .NET Framework 数据提供程序的功能和行为。

适用于 Oracle 的 .NET Framework 数据提供程序允许使用 Oracle 客户端软提供的 Oracle 调用接口 (OCI) 来访问 Oracle 数据库。该数据提供程序设计的功能与用于 SQL Server、OLE DB 和 ODBC 的 .NET Framework 数据提供程序的功能类似。

若要使用适用于 Oracle 的 .NET Framework 数据提供程序,应用程序必须引用 System.Data.OracleClient 命名空间,如下所示:

 

ORACLE ODP.NET官方下载

http://www.oracle.com/technetwork/topics/dotnet/index-085163.html?ssSourceSiteId=ocomcn

Oracle Data Provider for .NET

Oracle Data Provider for .NET (ODP.NET) features  optimized ADO.NET data access to the Oracle database. ODP.NET allows developers  to take advantage of advanced Oracle database functionality, including Real  Application Clusters, XML DB, and advanced security. The data provider can be  used with the latest .NET Framework 4 version.

ODP.NET makes using Oracle from .NET more flexible,  faster, and more stable. ODP.NET includes many features not available from other  .NET drivers, including a native XML data type, self-tuning, RAC-optimized  connection pooling, promotable transactions, and Advanced Queuing.

Download the latest ODP.NET production release  in ODAC 11.2 Release 5 (11.2.0.3.20) for 32-bit Windows or Windows x64. This release includes .NET Framework 4.5, Entity  Framework, LINQ, WCF Data Services, and implicit REF CURSOR parameter binding  support.

 

解决办法

在.NET4.0及以后,建议下载ODP.NET替换System.Data.OracleClient

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值