Click or drag to resize

IDataAccessAdapterRollback 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 SaveTransaction(savePointName)

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
void Rollback(
	string savePointName
)

Parameters

savePointName
Type: SystemString
name of the savepoint to roll back to.
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.
See Also