exception.InnerException is Devart.Data.Oracle.OracleExcepti

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for universal data access
Post Reply
mlagasio
Posts: 43
Joined: Mon 14 Mar 2011 13:42

exception.InnerException is Devart.Data.Oracle.OracleExcepti

Post by 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

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 23 Mar 2011 17:16

We have answered you in this thread.

Post Reply