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

In This Topic
    TransactionErrorBehavior Enumeration
    In This Topic
    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 
    public enum TransactionErrorBehavior : System.Enum, 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

    See Also