Such as OleDbConnection
vs OracleConnection
, OleDbCommand
vs OracleCommand
and more...
I know Oracle*
classes are for Oracle DB, but OleDb*
seems works too. I can not find any comparison in MSDN. Is there any consideration of preference to use Oracle*
classes? What's the real difference between them?
To be precise you need to understand that OleDb
is for Access databases or any database/application which has an OleDb provider for .NET.
Oracle* classes are specific to Oracle. Also note that OracleClient
is the native provider for Oracle databases
As stated here Difference between oledb provider and oracle client provider (it's a quite old post but gets to the point) the OleDb
provider is general to give a database-independent layer to access databases.
The Oracle connection provider is specific and provides optimized the access and bypasses the OleDb
provider, in order to achieve improvements in performance and scalability.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.