Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PersistenceExceptionTranslationAdvisor Constructor

Initializes a new instance of the PersistenceExceptionTranslationAdvisor class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal objectFactory As IListableObjectFactory, _
   ByVal repositoryAttributeType As Type _
)
[C#]
PersistenceExceptionTranslationAdvisor(
   IListableObjectFactory objectFactory,
   Type repositoryAttributeType
);

Parameters

objectFactory
The object factory to obtain all IPersistenceExceptionTranslators from.
repositoryAttributeType
Type of the repository attribute to check for.

See Also

PersistenceExceptionTranslationAdvisor Class | Spring.Dao.Attributes Namespace | PersistenceExceptionTranslationAdvisor Constructor Overload List