Can you use the OleDb classes for SQL Server?



I'm in a situation where the customer has an Oracle DB, and my developing platform runs a SQL Server DB. Ideally, I'd like to write the code, and then simply change the connection string at deployment time. So my question is: can I use the OleDb classes rather than the native SqlClient classes, to connect to SQL Server, and then later to Oracle?

Gustaf
.


Loading