exception.InnerException is Devart.Data.Oracle.OracleExcepti

exception.InnerException is Devart.Data.Oracle.OracleExcepti

Postby mlagasio » Tue 22 Mar 2011 16:56

Hi

catching an UniException I cannot decide if InnerException is
Devart.Data.Oracle.OracleException because visual studio
state

The type 'Devart.Data.Oracle.OracleException' exists in both 'Devart.Data.Oracle.dll' and 'Devart.Data.Universal.Oracle.dll'

I've understand that the type 'Devart.Data.Oracle.OracleException' is defined with the same name into two dll.
I can add a reference to
'Devart.Data.Oracle.dll'
but I have the error above.
If I add a reference to 'Devart.Data.Universal.Oracle.dll' I cannot find the type 'Devart.Data.Oracle.OracleException'.


I need cast UniException.InnerException (perhaps its type is defined in 'Devart.Data.Universal.Oracle.dll') to Devart.Data.Oracle.OracleException
but how could I do?

Regards
Marco
mlagasio
 
Posts: 43
Joined: Mon 14 Mar 2011 13:42

Postby Shalex » Wed 23 Mar 2011 17:16

We have answered you in this thread.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect Universal