Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NameMatchTransactionAttributeSource.AddTransactionMethod Method

Add an attribute for a transactional method.

[Visual Basic]
Public Sub AddTransactionMethod( _
   ByVal methodName As String, _
   ByVal attribute As ITransactionAttribute _
)
[C#]
public void AddTransactionMethod(
   string methodName,
   ITransactionAttribute attribute
);

Parameters

methodName
The transactional method name.
attribute
The attribute to be associated with the method.

Remarks

Method names can end with "*" for matching multiple methods.

See Also

NameMatchTransactionAttributeSource Class | Spring.Transaction.Interceptor Namespace