FbConnectionInternal   public FbTransaction BeginTransaction methods issue
--------------------------------------------------------------------------

                 Key: DNET-251
                 URL: http://tracker.firebirdsql.org/browse/DNET-251
             Project: .NET Data provider
          Issue Type: Sub-task
          Components: ADO.NET Provider
            Reporter: Jiri Cincura
            Assignee: Jiri Cincura


class FbConnectionInternal 
public FbTransaction BeginTransaction methods 
as I think, if this.activeTransaction.BeginTransaction() call raises exception 
then activeTransaction should be disposed and nulled. if not - next time it 
will cause HasActiveTransaction to return true and InvalidOperationException("A 
transaction is currently active. Parallel transactions are not supported.") 
will be thrown. InvalidOperationException is not FbException and complecates 
exception handling in outer code. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to