Hello All!
Please help me!
Wich are the good and bad sides of TransactionScope object in C#?
Thanks.
Hello All!
Please help me!
Wich are the good and bad sides of TransactionScope object in C#?
Thanks.
Good side:
Can do transactions beyond database context. Insert record into db. Write file to disk.
Bad side:
Requires MSDTC access on client machine, where TransactionScope is used.
Some advantages from MSDN :
TransactionScope Benefits