SetRollbackOnly Method
NPersistence Reference Guide
Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
void SetRollbackOnly()

Exceptions

ExceptionCondition
System..::..InvalidOperationException if isActive() is false

See Also