dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / TransactionErrorBehavior Enumeration

TransactionErrorBehavior Enumeration
Determines how dotConnect for PostgreSQL handles errors, which occur within a transaction.
Syntax
'Declaration
 
Public Enum TransactionErrorBehavior 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
 
Members
MemberDescription
NoneNo action is performed. An application must handle an error itself and roll back the transaction.
RollbackTransactionThe transaction is rolled back automatically by dotConnect for PostgreSQL when an error occurs. The corresponding message is added to the original error message.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Devart.Data.PostgreSql.TransactionErrorBehavior

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also