Return the identifier of the persistent object, or null if transient
Namespace:
NHibernate.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function GetEntityIdentifier ( _ obj As Object _ ) As Object |
C# |
---|
Object GetEntityIdentifier( Object obj ) |
Visual C++ |
---|
Object^ GetEntityIdentifier( Object^ obj ) |
JavaScript |
---|
function getEntityIdentifier(obj); |
Parameters
- obj
- Type: System..::.Object