A many-to-one association type for the given class and cascade style.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function ManyToOne ( _ persistentClass As Type, _ uniqueKeyPropertyName As String, _ lazy As Boolean, _ ignoreNotFound As Boolean _ ) As EntityType |
C# |
---|
public static EntityType ManyToOne( Type persistentClass, string uniqueKeyPropertyName, bool lazy, bool ignoreNotFound ) |
Visual C++ |
---|
public: static EntityType^ ManyToOne( Type^ persistentClass, String^ uniqueKeyPropertyName, bool lazy, bool ignoreNotFound ) |
JavaScript |
---|
NHibernate.Type.TypeFactory.manyToOne = function(persistentClass, uniqueKeyPropertyName, lazy, ignoreNotFound); |
Parameters
- persistentClass
- Type: System..::.Type
- uniqueKeyPropertyName
- Type: System..::.String
- lazy
- Type: System..::.Boolean
- ignoreNotFound
- Type: System..::.Boolean