Returns the entity name from a given entity object via session lookup or if new object via metadata lookup
- This function returns string
Key | Type | Required | Default | Description |
---|---|---|---|---|
entity | any | Yes | --- |
var name = ORMService.getEntityGivenName( entity );