UniDac and multiple transactions
Posted: Sun 29 Jan 2012 10:34
Hello,
In my application I have to start separate transaction for each loading a dll plugin e.g:
a) user XYZ starts application
b) user XYZ opening loading new plugin and opening box form in edit mode (record id = 1)
so he have to lock record
b) user XYZ opening new box form in edit mode (record id = 2)
To inform other users about locking records I use separated table with information TableName and recordId.
I want to insert records to this table in transaction (after user processing with this record lock will be removed by rollback this transaction).
This same user (e.g XYZ) might open few box forms for different tables or different records - I have use separated transactions for it and after processing rollback correct one.
How to do this using one connection?
In my application I have to start separate transaction for each loading a dll plugin e.g:
a) user XYZ starts application
b) user XYZ opening loading new plugin and opening box form in edit mode (record id = 1)
so he have to lock record
b) user XYZ opening new box form in edit mode (record id = 2)
To inform other users about locking records I use separated table with information TableName and recordId.
I want to insert records to this table in transaction (after user processing with this record lock will be removed by rollback this transaction).
This same user (e.g XYZ) might open few box forms for different tables or different records - I have use separated transactions for it and after processing rollback correct one.
How to do this using one connection?