Re: [Firebird-net-provider] How to get Error Code

2007-11-23 Thread Helen Borrie
At 08:32 PM 23/11/2007, you wrote: >Content-class: urn:content-classes:message >Content-Type: multipart/alternative; >boundary="_=_NextPart_001_01C82DB3.EDD8C10C" > >DbException.ErrorCode is same for unique constraint and foreign key constraint >when using firebird .NET data provider.

Re: [Firebird-net-provider] How to get Error Code

2007-11-23 Thread Jiri Cincura
On 11/23/07, Tomy Handaka <[EMAIL PROTECTED]> wrote: > > > > DbException.ErrorCode is same for unique constraint and foreign key > constraint when using firebird .NET data provider. I need more specific > error code to throw exact exception. The ErrorCode you get is from server. We're not changing

Re: [Firebird-net-provider] How to get Error Code

2007-11-23 Thread Tomy Handaka
To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] How to get Error Code On 11/23/07, Tomy Handaka <[EMAIL PROTECTED]> wrote: > How can I get the error code through DbException class? (Note: I don't use > FbException class) The c

Re: [Firebird-net-provider] How to get Error Code

2007-11-23 Thread Jiri Cincura
On 11/23/07, Tomy Handaka <[EMAIL PROTECTED]> wrote: > How can I get the error code through DbException class? (Note: I don't use > FbException class) The class has property DbException.ErrorCode and FbException is derived from DbException. -- Jiri {x2} Cincura (Microsoft Student Partner) http:/