EntityReload
Reload an entity from the database.
Will repopulate all persistent properties on the entity with the latest values from the database.
Method Signature
EntityReload(entity=[Any])Arguments
Argument
Type
Required
Description
Default
entity
Any
true
The entity instance to reload.
Examples
Reload an entity by passing the entity object directly:
manufacturer = entityLoadByPK( "Manufacturer", 1 );
reloaded = entityReload( manufacturer );Reload all in-session entities by entity name:
manufacturer = entityLoadByPK( "Manufacturer", 1 );
reloaded = entityReload( "manufacturer" );Related
Last updated
Was this helpful?