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.
Syntaxe
VBScript
session.LoadEntity(entity_def_name, display_name)
Perl
$session->LoadEntity(entity_def_name, display_name);
- Identificateur
- Description
- session
- Objet Session représentant la session en cours d'accès à la
base de données.
- nom_déf_entité
- Chaîne qui identifie le nom du type d'enregistrement auquel l'enregistrement appartient.
- display_name
- A String containing the display name of the record
- Return value
- Returns an Entity Object corresponding
to the requested record.
Exemples
VBScript
set entityObj = session.LoadEntity("defect", "Sampl00000001");
Perl
$entityObj = $session->LoadEntity("defect",
"Sampl00000001");