KenpoMatt
Active member
I use Oracle as my primary database. I create my conection, command and reader objects like this:
The data source name is not ODBC. It is an alias inside the TNSNames.ora file. So, this is a native Oracle connection, right?
I am assuming these are NOT ADO objects and they do not inherit from ADO. Can anyone confirm/deny my assumptions on this?
Just curious...
Thanks,
Matt
Code:
Dim oConn as New OracleConnection
oConn.ConnectionString = "data source=myDataSource; user id =myID; password=myPassword"
Dim oCmd as New OracleCommand("select myField from myTable", oConn)
Dim oReader as OracleDataReader = oCmd.ExecuteReader
I am assuming these are NOT ADO objects and they do not inherit from ADO. Can anyone confirm/deny my assumptions on this?
Just curious...
Thanks,
Matt