Extract the identifier value from the given entity.

Namespace: NHibernate.Tuple.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Object GetIdentifier(
	Object entity
)
Visual Basic
Function GetIdentifier ( _
	entity As Object _
) As Object
Visual C++
Object^ GetIdentifier(
	Object^ entity
)

Parameters

entity
Type: System..::..Object
The entity from which to extract the identifier value.

Return Value

The identifier value.

See Also