Constructs the requested entity type mapping.

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

Syntax

C#
protected internal EntityType(
	string entityName,
	string uniqueKeyPropertyName,
	bool eager,
	bool isEmbeddedInXML,
	bool unwrapProxy
)
Visual Basic
Protected Friend Sub New ( _
	entityName As String, _
	uniqueKeyPropertyName As String, _
	eager As Boolean, _
	isEmbeddedInXML As Boolean, _
	unwrapProxy As Boolean _
)
Visual C++
protected public:
EntityType(
	String^ entityName, 
	String^ uniqueKeyPropertyName, 
	bool eager, 
	bool isEmbeddedInXML, 
	bool unwrapProxy
)

Parameters

entityName
Type: System..::..String
The name of the associated entity.
uniqueKeyPropertyName
Type: System..::..String
The property-ref name, or null if we reference the PK of the associated entity.
eager
Type: System..::..Boolean
Is eager fetching enabled.
isEmbeddedInXML
Type: System..::..Boolean
Should values of this mapping be embedded in XML modes?
unwrapProxy
Type: System..::..Boolean
Is unwrapping of proxies allowed for this association; unwrapping says to return the "implementation target" of lazy prooxies; typically only possible with lazy="no-proxy".

See Also