I want to detect ORA-0001 from my .net application which uses Oracle.ManagedDataAccess client to connect to Oracle.
When I inspect the details of OracleException which was throwed when constraint violated, that is What I see;
I could not find a better way for detecting constraint violation other then parsing the Message property of exception.
What is the best practice of that ? Any better, convenient way appricated.
P.S : I dont want to write pl/sql for that.
Thanks