Re: [Firebird-net-provider] Using statement and transactions

2011-02-01 Thread Adriana Cass
Hi, Is transaction is rolled back also and connection closed? Thanks, On Tue, Feb 1, 2011 at 11:02, Jiri Cincura wrote: > On Tue, Feb 1, 2011 at 09:47, Adriana Cass wrote: >> Please let me know if the bellow code is correct. > > Yes, it is. > > -- > Jiri {x2} Cincura (x2develop.com founder) >

Re: [Firebird-net-provider] Using statement and transactions

2011-02-01 Thread Jiri Cincura
On Tue, Feb 1, 2011 at 09:47, Adriana Cass wrote: > Please let me know if the bellow code is correct. Yes, it is. -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com -- Spe

[Firebird-net-provider] Using statement and transactions

2011-02-01 Thread Adriana Cass
Hi, Please let me know if the bellow code is correct. I mean connection is closed and disposed and transaction is rolled back and closed and disposed in case of exception. Any other suggestions are welcome. Thank you, Adrya using (FbConnection c = new FbConnection(m_connection)) {