Get the id value for an object that is actually associated with the session. This is a bit stricter than GetEntityIdentifierIfNotUnsaved().

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function GetEntityIdentifier ( _
	obj As Object _
) As Object
C#
public Object GetEntityIdentifier(
	Object obj
)
Visual C++
public:
virtual Object^ GetEntityIdentifier(
	Object^ obj
) sealed
JavaScript
function getEntityIdentifier(obj);

Parameters

obj
Type: System..::.Object

Return Value

Implements

ISessionImplementor..::.GetEntityIdentifier(Object)

See Also