Subject | Re: [firebird-support] C# check active transaction of a connection |
---|---|
Author | Carlos Guzmán Álvarez |
Post date | 2004-10-25T12:58:06Z |
Hello:
.NET Provider (it doesn't have a Commit method in the connection,
that is why ask what are you using )
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain
"In the end there can be only one" (Highlander)
>I used to use the below method to do thatWhat are you using to access firebird from C# ?? The Firebird
>
>private bool CheckHaveActiveTransaction()
>{
>try{
> Connection.BeginTransaction();
> Connection.Commit();
>}catch()
>{
>return true;
>}
>}
>
>
.NET Provider (it doesn't have a Commit method in the connection,
that is why ask what are you using )
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain
"In the end there can be only one" (Highlander)