A NHibernate persistent object (entity) type
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("use NHibernate.Entity instead")> _ Public Shared Function Association ( _ persistentClass As Type _ ) As IType |
C# |
---|
[ObsoleteAttribute("use NHibernate.Entity instead")] public static IType Association( Type persistentClass ) |
Visual C++ |
---|
[ObsoleteAttribute(L"use NHibernate.Entity instead")] public: static IType^ Association( Type^ persistentClass ) |
JavaScript |
---|
NHibernate.NHibernateUtil.association = function(persistentClass); |
Parameters
- persistentClass
- Type: System..::.Type
a mapped entity class