Oracle connection has been deprecated, is obsolete

When I compile my project I am getting a few warning messages. I am wondering if there is a way to get rid of the warning messages? I do know that I can suppress the messages in Visual Studio, but I am seeking a better solution. Besides suppressing the message via the project properties dialog box, is there a better was that does not involved suppression via visual studio? Manually suppressing it?

I believe the error message has to do with the fact that the types in System.Data.OracleClient are deprecated. Anyway, if a .NET expert has some valuable insight on how to get rid of the error message without manually suppressing it, I would appreciate the help.

Ultimately I am wondering if there is something I can implement in the code or IDE .net framework, as opposed to having to download anything from Oracle to include in my project. Also I am using .net 4.5.2

warning BC4000:  'OracleConnection' is obsolete: OracleConnection has been deprecated.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
I know you said you don't want to download anything from Oracle but you really need to use a current and supported data access provider.

As I have suggested before:  I would strongly encourage you to use the ODP.Net Managed Client from Oracle.

Your previous question:

It is free and there is no install.  Just one DLL that you need for your project and you are good and everything will work.

I would suggest the XCopy version:

If you want the Visual Studio tools then:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AndyAinscowFreelance programmer / ConsultantCommented:
Two points.
You can suppress the warning - but you have to do it manually
Also read the warning.  It means at some time in the future your app won't work anymore.  (Is hiding the warning a good idea?)
>>OracleConnection' is obsolete: OracleConnection has been deprecated.
Geert GOracle dbaCommented:
Besides it being deprecated
before we changed to we found the Oracleconnection didn't work for certain selects

so it's really time to switchover
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.