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 string[]. You need to specify the locking, hence the 
> IDictionary.
>
> --
> Mgr. Jiří Činčura
> Independent IT Specialist
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to