Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalSessionFactoryObject.TypeDefinitions Property

Specify the Hibernate type definitions to register with the SessionFactory, as Spring IObjectDefinition instances. This is an alternative to specifying <typedef> elements in Hibernate mapping files.

Unfortunately, Hibernate itself does not define a complete object that represents a type definition, hence the need for Spring's TypeDefinitionBean.

@see TypeDefinitionBean @see org.hibernate.cfg.Mappings#addTypeDef(String, String, java.util.Properties)
[Visual Basic]
Public WriteOnly Property TypeDefinitions() As IObjectDefinition
   Public Set
   End Set
End Property
public IObjectDefinition[] TypeDefinitions { public set; }

See Also

LocalSessionFactoryObject Class | Spring.Data.NHibernate Namespace