Hi,
I have to use transactions in order to gain control over db operations like insert and updates. The problem is, those db operations are inside seperate functions. They should be inside seperate functions because i m using them for 13 different web forms. What i want to do is, if one of those db operations (lets say operation1 is insert1 to table1 and operation2 is insert2 to table2) fails then i have to rollback.
Any ideas?
thanks in advance.
Best Regards
I have to use transactions in order to gain control over db operations like insert and updates. The problem is, those db operations are inside seperate functions. They should be inside seperate functions because i m using them for 13 different web forms. What i want to do is, if one of those db operations (lets say operation1 is insert1 to table1 and operation2 is insert2 to table2) fails then i have to rollback.
Any ideas?
thanks in advance.
Best Regards