Re: [Firebird-net-provider] Setting LockTables in FbTransactionOptions with string[] of Tables to Lock

2015-06-16 Thread Геннадий Забула
Use Linq^ string[] tables = LockTables = tables.ToDictionary(x=x, FbTransactionBehavior.LockRead | FbTransactionBehavior.Exclusive) But this will cause all table to have same FbTransactionBehavior. On Tue, Jun 16, 2015 at 7:50 AM, Jiří Činčura j...@cincura.net wrote: You can’t use

Re: [Firebird-net-provider] FbBatchExecution

2015-06-16 Thread Геннадий Забула
you can also add helper method Add(FbScript scrip) to support current ctor. On Tue, Jun 16, 2015 at 7:57 AM, Jiří Činčura j...@cincura.net wrote: Thinking more about it. Maybe the ctor should be only with optional FbConnection and the rest can be done via SqlStatements property. Then it's

Re: [Firebird-net-provider] FbBatchExecution

2015-06-16 Thread Jiří Činčura
That breaks the notion of single point for interaction. -- Mgr. Jiří Činčura Independent IT Specialist -- ___ Firebird-net-provider mailing list