LoadPartialEntityByDbId
Description
Represents a method
that can partially load an entity based on the record type name entDefName
and
the ID dbID
.
Syntax
VBScript
session.LoadPartialEntityByDbId
(entitydef_name, db_id)
Perl
$session->LoadPartialEntityByDbId
(entitydef_name, db_id);
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- entitydef_name
- A String that identifies the name of the record type (EntityDef) to which the desired record belongs.
- db_id
- A Long that is the number used by the database
to identify the record.
The unique ID of the record
- Return value
- Returns an Entity Object corresponding to the partial requested record.
Examples
VBScript
set entityObj = session.LoadPartialEntityByDbId("defect", 33554433)
Perl
$entityObj = $session->LoadPartialEntityByDbId("defect", 33554433);