Get the identifier of an instance ( throw an exception if no identifier property)
Namespace: NHibernate.Persister.EntityAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object GetIdentifier( Object obj, EntityMode entityMode ) |
Visual Basic |
---|
Function GetIdentifier ( _ obj As Object, _ entityMode As EntityMode _ ) As Object |
Visual C++ |
---|
Object^ GetIdentifier( Object^ obj, EntityMode entityMode ) |
Parameters
- obj
- Type: System..::..Object
[Missing <param name="obj"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetIdentifier(System.Object,NHibernate.EntityMode)"]
- entityMode
- Type: NHibernate..::..EntityMode
[Missing <param name="entityMode"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetIdentifier(System.Object,NHibernate.EntityMode)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetIdentifier(System.Object,NHibernate.EntityMode)"]