Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionProxyFactoryObject.TransactionAttributes Property

Set properties with method names as keys and transaction attribute descriptors as values.

[Visual Basic]
Public WriteOnly Property TransactionAttributes() As NameValueCollection
   Public Set
   End Set
End Property
public NameValueCollection TransactionAttributes { public set; }


The various transaction attribute descriptors are parsed via an instance of the TransactionAttributeEditor class.

Note    Method names are always applied to the target class, no matter if defined in an interface or the class itself.

Internally, a NameMatchTransactionAttributeSource will be created from the given properties.


An example string (method name and transaction attributes) might be:

key = "myMethod", value = "PROPAGATION_REQUIRED,readOnly".

See Also

TransactionProxyFactoryObject Class | Spring.Transaction.Interceptor Namespace