Determine the name of the property for the entity encapsulated by the
given type which represents the id or unique-key.
Namespace: NHibernate.Hql.Ast.ANTLRAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public string GetIdentifierOrUniqueKeyPropertyName( EntityType entityType ) |
Visual Basic |
---|
Public Function GetIdentifierOrUniqueKeyPropertyName ( _ entityType As EntityType _ ) As String |
Visual C++ |
---|
public: String^ GetIdentifierOrUniqueKeyPropertyName( EntityType^ entityType ) |
Parameters
- entityType
- Type: NHibernate.Type..::..EntityType
The type representing the entity.