LoadEntityByDbId

Description

Returns the record with the specified database ID and the latest database values.

This method is the same as GetEntityByDbId, except that it ensures that you are using the latest values in the database.

Remarque : Dans la version 7.0, le nombre maximale d'enregistrements pouvant être stockés a augmenté et la plage d'ID base de données a également augmenté. However, Rational ClearQuest clients earlier than version 7.0. cannot display records with database identifiers (DBIDs) higher than the former limit. For more information on DBIDs, see Utilisation d'enregistrements

Syntaxe

VBScript

session.LoadEntityByDbId(entitydef_name, db_id) 

Perl

$session->LoadEntityByDbId(entitydef_name, db_id); 
Identificateur
Description
session
Objet Session représentant la session en cours d'accès à la base de données.
nom_défentité
A String that identifies the name of the record type (EntityDef) to which the desired record belongs.
db_id
Valeur de type Long correspondant au nombre utilisé par la base de données pour identifier l'enregistrement.

The unique ID of the record

Return value
Returns an Entity Object corresponding to the requested record.

Exemples

VBScript

set entityObj = session.LoadEntityByDbId("defect", 33554433) 

Perl

$entityObj = $session->LoadEntityByDbId("defect", 33554433);


Commentaires