Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it ok to still use System.Data.OracleClient even though its obsolete?

Tags:

asp.net

oracle

I've been using System.Data.OracleClient for a while now and i'm not sure whether I should keep using it if it is being deprecated?

Although all my pages will still work under the .Net 4 framework i'm worried that when there is a new framework all the pages may stop working.

Does anyone have any suggestions?

like image 746
user760992 Avatar asked May 19 '11 11:05

user760992


2 Answers

Using it is still ok for now, but what is the future of the app? Do you plan for the application to be used and maintained for years in the future? If so, you should move to ODP.net so that you get updates and new features.

like image 133
Zach Green Avatar answered Sep 20 '22 11:09

Zach Green


Microsoft's recommendation is that you find a third-party client, such as ODP.NET.

The types in System.Data.OracleClient are deprecated. The types are supported in version 4 of the .NET Framework but will be removed in a future release. Microsoft recommends that you use a third-party Oracle provider.

http://msdn.microsoft.com/en-us/library/77d8yct7.aspx

like image 44
tvanfosson Avatar answered Sep 21 '22 11:09

tvanfosson