We're trying to use the dotNet For Oracle libraries with our legacy code to replace the Microsoft System.Data.Oracle code. We've tried both the Express and Pro trial versions, and in both the C# compiler reports that the OracleParameter class does not support the IDbDataParameter interface, even though the documentation states that it does.
Can you explain this? It's a show-stopper for us, because our code connects to a number of different database systems, and uses interfaces throughout.
TIA
OracleParameter does not implement IDbDataParameter
-
- Posts: 1
- Joined: Tue 22 Apr 2014 07:51
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: OracleParameter does not implement IDbDataParameter
The OracleParameter class implements IDbDataParameter. The following code can be compiled and run:
Code: Select all
static void Main(string[] args)
{
System.Data.IDbDataParameter par = new Devart.Data.Oracle.OracleParameter();
par.Scale = 5;
par.Size = 10;
par.Precision = 8;
}
Please create and send us a small test project which reproduces the issue.neilhaughton wrote:C# compiler reports that the OracleParameter class does not support the IDbDataParameter interface