daelmo wrote:
It's atomic. Inside DeleteMulti a transaction is started, so if something goes wrong the framework rollback the transaction.
thank you daelmo.
one more question about transactions:
this is from the hnd code.
in forummanager.cs, the deleteforum method creates a transaction and does the action in a try catch finally block.
the transaction is passed onto threadmanager class and deleteallthreadsinforum uses the same transaction to do the rest of the work. deleteallthreadsinforum itself calls other methods and passes the transaction onto them also. but this part of the code doesnt use try catches. the transaction is not committed there of course.
what if something wrong happens in one of the methods deleteallthreadsinforum uses? does the try catch finally in deleteforum method catch this and rollback all transactions?
i dont know if i was able to ask the question the way i aimed.
please let me know if it doesnt make sense to you.
thanks
-shane