Re: [Firebird-net-provider] System.TransactionScope

2007-03-08 Thread Carlos Guzmán Álvarez
Hello: > > Could some one post here sample of using TransactionScope with > Firebird database, as I heard support for TransactionScope should be > implemented in FireBird .net provider 2.1.0.0 Beta 2. Could you check if something like this works for you ?? FbConnectionStringB

Re: [Firebird-net-provider] System.TransactionScope

2007-02-27 Thread Madars Vitolins
Just played around with tableadapter stuff. And seems that connection is open within transaction scope by calling "DetailsView1.InsertItem(false);". Thanks, Madars. Carlos Guzmán Álvarez wrote: Hello: I have added "Enlist=true" to connection string, but this doesn't help, data is ins

Re: [Firebird-net-provider] System.TransactionScope

2007-02-27 Thread Carlos Guzmán Álvarez
Hello: > I have added "Enlist=true" to connection string, but this doesn't > help, data is inserted anyway. Any Ideas? Is the connection being opened inside the: using (TransactionScope scope = new TransactionScope()) { ... } ??

Re: [Firebird-net-provider] System.TransactionScope

2007-02-27 Thread Madars Vitolins
Hello, I have added "Enlist=true" to connection string, but this doesn't help, data is inserted anyway. Any Ideas? Thanks Madars. Carlos Guzmán Álvarez wrote: Hello: Here is the connection string: "data source=192.168.0.1;initial catalog=/var/fdb/testdb.fdb;user id=sysdba;password=m

Re: [Firebird-net-provider] System.TransactionScope

2007-02-26 Thread Carlos Guzmán Álvarez
Hello: > Here is the connection string: > > "data source=192.168.0.1;initial catalog=/var/fdb/testdb.fdb;user > id=sysdba;password=masterkey" Add Enlist=true to the connection string and retry, please - Take Surveys. Earn

Re: [Firebird-net-provider] System.TransactionScope

2007-02-26 Thread Madars Vitolins
Hi, Here is the connection string: "data source=192.168.0.1;initial catalog=/var/fdb/testdb.fdb;user id=sysdba;password=masterkey" Thanks, Madars. Carlos Guzmán Álvarez wrote: Hello: Code fragments: using (TransactionScope ts = new TransactionScope()) {

Re: [Firebird-net-provider] System.TransactionScope

2007-02-26 Thread Carlos Guzmán Álvarez
Hello: > Code fragments: > > using (TransactionScope ts = new TransactionScope()) > { > DetailsView1.InsertItem(false); > throw new Exception("Test"); > ts.Complete(); > } Could you please post your connection st