A many-to-one association type for the given class and cascade style.

Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static EntityType ManyToOne(
	string persistentClass,
	string uniqueKeyPropertyName,
	bool lazy,
	bool unwrapProxy,
	bool isEmbeddedInXML,
	bool ignoreNotFound
)
Visual Basic
Public Shared Function ManyToOne ( _
	persistentClass As String, _
	uniqueKeyPropertyName As String, _
	lazy As Boolean, _
	unwrapProxy As Boolean, _
	isEmbeddedInXML As Boolean, _
	ignoreNotFound As Boolean _
) As EntityType
Visual C++
public:
static EntityType^ ManyToOne(
	String^ persistentClass, 
	String^ uniqueKeyPropertyName, 
	bool lazy, 
	bool unwrapProxy, 
	bool isEmbeddedInXML, 
	bool ignoreNotFound
)

Parameters

persistentClass
Type: System..::..String

[Missing <param name="persistentClass"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

uniqueKeyPropertyName
Type: System..::..String

[Missing <param name="uniqueKeyPropertyName"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

lazy
Type: System..::..Boolean

[Missing <param name="lazy"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

unwrapProxy
Type: System..::..Boolean

[Missing <param name="unwrapProxy"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

isEmbeddedInXML
Type: System..::..Boolean

[Missing <param name="isEmbeddedInXML"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

ignoreNotFound
Type: System..::..Boolean

[Missing <param name="ignoreNotFound"/> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Type.TypeFactory.ManyToOne(System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"]

See Also