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 : In version 7.0 the limit on the number of records
that can be stored increased so the range of DBIDs also increased.
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
- Valeur renvoyée
- Returns an Entity
Object corresponding to the requested record.
Exemples
VBScript
set entityObj = session.LoadEntityByDbId("defect", 33554433)
Perl
$entityObj = $session->LoadEntityByDbId("defect",
33554433);