Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodMapTransactionAttributeSource.AddTransactionalMethod(Type, String, ITransactionAttribute) Method

Add an attribute for a transactional method.

[Visual Basic]
Public Overloads Sub AddTransactionalMethod( _
   ByVal type As Type, _
   ByVal mappedName As String, _
   ByVal transactionAttribute As ITransactionAttribute _
)
[C#]
public void AddTransactionalMethod(
   Type type,
   string mappedName,
   ITransactionAttribute transactionAttribute
);

Parameters

type
The target interface or class.
mappedName
The mapped method name.
transactionAttribute
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