GetEntityDefName

Description

Returns the name of the EntityDef object that is the template for this object.

To get the corresponding EntityDef object, call the Session object's GetEntityDef method.

Before using the methods of EntityDef object, you should look at the methods of Entity to see if one of them returns the information you need. Some of the more common information available in an EntityDef object can also be obtained directly from methods of Entity.

Syntaxe

VBScript

entity.GetEntityDefName 

Perl

$entity->GetEntityDefName(); 
Identificateur
Description
entity
Objet Entity représentant un enregistrement de données utilisateur. Si vous omettez cette partie de la syntaxe au sein d'un point d'ancrage, l'objet Entity correspondant à l'enregistrement de données en cours est faux (VBScript uniquement).
Valeur renvoyée
A String containing the name of the EntityDef object upon which this object is based.

Exemples

VBScript

set sessionObj = GetSession 

' Get the EntityDef of the record using GetEntityDefName 
entityDefName = GetEntityDefName 
set entityDefObj = sessionObj.GetEntityDef(entityDefName) 

Perl

$sessionobj = $entity->GetSession();



# Get the EntityDef of the record using GetEntityDefName 



$entitydefname = $entity->GetEntityDefName();

$entitydefobj = $sessionobj->GetEntityDef($entitydefname); 

Feedback