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
Hi,
In the under mentioned code, how do I use string[] lockTables instead of
lockTable1 and lockTable2 to set LockTables.
tx = con.BeginTransaction(
new FbTransactionOptions() {
TransactionBehavior =
FbTransactionBehavior.Consistency | FbTransactionBehavior.NoWait,
LockTables
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