Return the identifier of the persistent object, or null if transient

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

Syntax

C#
Object GetContextEntityIdentifier(
	Object obj
)
Visual Basic
Function GetContextEntityIdentifier ( _
	obj As Object _
) As Object
Visual C++
Object^ GetContextEntityIdentifier(
	Object^ obj
)

Parameters

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:NHibernate.Engine.ISessionImplementor.GetContextEntityIdentifier(System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.ISessionImplementor.GetContextEntityIdentifier(System.Object)"]

See Also