LoadEntity
Description
Returns the specified record with latest database values.
This method is the same as GetEntity, except that it ensures that you are using the latest values in the database.
Syntax
VBScript
session.LoadEntity(entity_def_name, display_name)
Perl
$session->LoadEntity(entity_def_name, display_name);
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- entity_def_name
- A String that identifies the name of the record type to which the record belongs.
- display_name
- A String containing the display name of the record
- Return value
- Returns an Entity Object corresponding to the requested record.
Examples
VBScript
set entityObj = session.LoadEntity("defect", "Sampl00000001");
Perl
$entityObj = $session->LoadEntity("defect", "Sampl00000001");