Thank you for your quick answer,

Marc

-----Message d'origine-----
De : Jiri Cincura [mailto:disk...@cincura.net] 
Envoyé : mardi 3 août 2010 13:55
À : For users and developers of the Firebird .NET providers
Objet : Re: [Firebird-net-provider] Transaction configuration with the
ADO.NET Data provider for Firebird

On Tue, Aug 3, 2010 at 10:36, Marc Bettex <bet...@epsitec.ch> wrote:
> new FbTransactionOptions()
> {
>        TransactionBehavior = FbTransactionBehavior.Concurrency |
> FbTransactionBehavior.Wait | FbTransactionBehavior.LockWrite |
> FbTransactionBehavior.Protected
> };

You can't specify table for locking, it's not supported by provider.
So the last two should be removed. And you can lock your table, kind
of, with "FOR UPDATE WITH LOCK" statement in your select.

-- 
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com

----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to