Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTransactionManager.EntityInterceptorObjectName Property

Sets the object name of a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.

[Visual Basic]
Public WriteOnly Property EntityInterceptorObjectName() As String
   Public Set
   End Set
End Property
[C#]
public string EntityInterceptorObjectName { public set; }

Property Value

The name of the entity interceptor object.

Remarks

Will get applied to any new Session created by this transaction manager.

Requires the object factory to be known, to be able to resolve the object name to an interceptor instance on session creation. Typically used for prototype interceptors, i.e. a new interceptor instance per session.

Can also be used for shared interceptor instances, but it is recommended to set the interceptor reference directly in such a scenario.

See Also

HibernateTransactionManager Class | Spring.Data.NHibernate Namespace