OracleConnection is absolute, where is the replacement

I have the code below for reading from an oracle database for VB.NET.

It works fine, but says OracleConnection is absolute. I have tried to look for its replacement and I am not getting

Thank you

Anthony



Dim oradb As String = "Data Source=(DESCRIPTION=" _
               + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=pp)(PORT=1521)))" _
               + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=b)));" _
               + "User Id=uid;Password=pw;"

            Dim conn As New OracleConnection(oradb)

            conn.Open()
            Dim i As Integer = 0
            Dim cmd As New OracleCommand
LVL 1
Anthony MatovuBusiness Analyst, MTN UgandaAsked:
Who is Participating?
 
Jacques Bourgeois (James Burger)Connect With a Mentor PresidentCommented:
You will find the replacement provided by oracle at http://www.oracle.com/technetwork/topics/dotnet/index-085163.html
0
 
Geert GOracle dbaCommented:
absolute ???

are you getting connected to oracle ?
is there an oracle client installed ?
0
 
Anthony MatovuBusiness Analyst, MTN UgandaAuthor Commented:
Connection is okay,
I successfully read the data. but there is a warning:

"'System.Data.OracleClient.OracleConnection' is obsolete: 'OracleConnection has been deprecated"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.