What are the good and bad points of the TransactionScope
class in C#?
Thanks.
What are the good and bad points of the TransactionScope
class in C#?
Thanks.
Some advantages from MSDN :
TransactionScope Benefits
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.
Just to add to / clarify the points Incognito makes:
The only 'bad' side is that you need to be aware that: