Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e. the property-ref).

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

Syntax

C#
public IType GetIdentifierOrUniqueKeyType(
	IMapping factory
)
Visual Basic
Public Function GetIdentifierOrUniqueKeyType ( _
	factory As IMapping _
) As IType
Visual C++
public:
IType^ GetIdentifierOrUniqueKeyType(
	IMapping^ factory
)

Parameters

factory
Type: NHibernate.Engine..::..IMapping
The mappings...

Return Value

The appropriate type.

See Also