SqlTransaction and Sql server named transactions

  • Thread starter Thread starter Ben Fidge
  • Start date Start date
B

Ben Fidge

I've noticed that one of the overloaded constructors for SqlTransaction
takes a transaction name as a string. How do these "named" transactions work
and how are they intended to be used?

Thanks

Ben
 
The named transactions are used with save points to which you can roll back.
It's instead of nested transactions, which you use with the OleDB .NET Data
Provider.
 
Back
Top