Get the identifier of an instance ( throw an exception if no identifier property)
Namespace:
NHibernate.Persister.EntityAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function GetIdentifier ( _ obj As Object _ ) As Object |
C# |
---|
Object GetIdentifier( Object obj ) |
Visual C++ |
---|
Object^ GetIdentifier( Object^ obj ) |
JavaScript |
---|
function getIdentifier(obj); |
Parameters
- obj
- Type: System..::.Object