Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAttributeConverter Class

Type converter for ITransactionAttribute objects.

For a list of all members of this type, see TransactionAttributeConverter Members .

System.Object
   TypeConverter
      TransactionAttributeConverter

[Visual Basic]
Public Class TransactionAttributeConverter
    Inherits TypeConverter
[C#]
public class TransactionAttributeConverter : TypeConverter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Takes Strings of the form

PROPAGATION_NAME,ISOLATION_NAME,readOnly,timeout_NNNN,+Exception1,-Exception2

where only propagation code is required. For example:

PROPAGATION_MANDATORY,ISOLATION_DEFAULT

The tokens can be in any order. Propagation and isolation codes must use the names of the values in the TransactionPropagation enumeration. Timeout values are in seconds. If no timeout is specified, the transaction manager will apply a default timeout specific to the particular transaction manager.

A "+" before an exception name substring indicates that transactions should commit even if this exception is thrown; a "-" that they should roll back.

Requirements

Namespace: Spring.Transaction.Interceptor

Assembly: Spring.Data (in Spring.Data.dll)

See Also

TransactionAttributeConverter Members | Spring.Transaction.Interceptor Namespace