Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodMapTransactionAttributeSource.AddTransactionalMethod(String, ITransactionAttribute) Method

Add an attribute for a transactional method.

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

Parameters

name
The class and method name, separated by a dot.
attribute
The attribute to be associated with the method.

Remarks

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

See Also

MethodMapTransactionAttributeSource Class | Spring.Transaction.Interceptor Namespace | MethodMapTransactionAttributeSource.AddTransactionalMethod Overload List