Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 486 Bytes

File metadata and controls

19 lines (12 loc) · 486 Bytes

getKeyValue

Get the unique identifier value for the passed in entity, or null if the instance is not in session

Returns

  • This function returns any

Arguments

Key Type Required Default Description
entity string Yes --- The entity to inspect for it's id

Examples

var pkValue = ormService.getKeyValue( "User" );