views:

22

answers:

1

Can I use the structures in System.Data.SqlTypes with the Oracle db driver? MSDN says:

The System.Data.SqlTypes namespace provides classes for native data types in SQL Server.

Is that it? End of line? I would really like to use these types but not if they tightly couple my code to a SQL Server.

A: 

There are the OLEDB and ODBC types...

gbn
Those are enums; `System.Data.SqlTypes` is a namespace.
SLaks
It's the best you'll get. Of course SQL Server is better supported in .net
gbn