I must use a corporate class that re-uses or re-creates a transaction after every Commit()
or Rollback()
. This class is told to use (or not use) transactions via a Boolean
ctor parameter.
I am thinking of wrapping this API to separate the transaction support (to rely explicitly on Transaction objects or the ambient TransactionScope
). But this requires a transaction class that is re-usable. Is there any such class in .NET? Or how would I begin to develop my own?