Click or drag to resize

TransactionBaseRollback Method (String)

Rolls back the transaction in action to the savepoint with the name savepointName. No internal objects are being reset when this method is called, so call this Rollback overload only to roll back to a savepoint. To roll back a complete transaction, call Rollback() without specifying a savepoint name. Create a savepoint by calling Save(savePointName)

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public virtual void Rollback(
	string savePointName
)

Parameters

savePointName
Type: SystemString
name of the savepoint to roll back to.

Implements

ITransactionRollback(String)
Exceptions
ExceptionCondition
InvalidOperationExceptionIf no transaction is in progress.
ArgumentExceptionif savePointName is empty or null
NotSupportedExceptionif the .NET database provider doesn't support transaction rolling back a transaction to a named point or when COM+ is used.
Remarks
Not supported when using COM+
See Also