Last updated 2 years ago
Get the unique identifier value for the passed in entity, or null if the instance is not in session
null
This function returns any
var pkValue = ormService.getKeyValue( "User" );
Key
Type
Required
Default
Description
entity
string
Yes
---
The entity to inspect for it's id