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.

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.
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
Valeur renvoyée
Returns an Entity Object corresponding to the requested record.

Exemples

VBScript

set entityObj = session.LoadEntity("defect", "Sampl00000001"); 

Perl

$entityObj = $session->LoadEntity("defect", "Sampl00000001");


Commentaires en retour