Click or drag to resize

DataAccessAdapterCoreSaveTransaction Method

Creates a savepoint with the name savePointName in the current transaction. You can roll back to this savepoint using Rollback(String).

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
public virtual void SaveTransaction(
	string savePointName
)

Parameters

savePointName
Type: SystemString
name of savepoint. Must be unique in an active transaction

Implements

IDataAccessAdapterSaveTransaction(String)
Exceptions
ExceptionCondition
InvalidOperationExceptionIf no transaction is in progress.
ArgumentExceptionif savePointName is empty or null
NotSupportedExceptionif the .NET database provider doesn't support transaction saving or when COM+ is used.
See Also