Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAspectSupport.TransactionAttributes Property

Set properties with method names as keys and transaction attribute descriptors (parsed via TransactionAttributeEditor) as values: e.g. key = "MyMethod", value = "PROPAGATION_REQUIRED,readOnly".

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


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.

See Also

TransactionAspectSupport Class | Spring.Transaction.Interceptor Namespace