GetEntityDefName

Descripción

Devuelve el nombre del objeto EntityDef que es la plantilla para este objeto.

Para obtener el objeto EntityDef correspondiente, llame al método GetEntityDef del objeto Session.

Antes de utilizar los métodos del objeto EntityDef, debe observar los métodos de Entity para ver si alguno devuelve la información que necesita. Parte de la información más común disponible en un objeto EntityDef también se puede obtener directamente de métodos de Entity.

Sintaxis

VBScript

entity.GetEntityDefName 

Perl

$entity->GetEntityDefName(); 
Identificador
Descripción
entity
Un objeto Entity que representa un registro de datos de usuario. En un enganche, si se omite esta parte de la sintaxis, se presupone el objeto Entity correspondiente al registro de datos actual (sólo VBScript).
Valor de retorno
Un valor String que contiene el nombre del objeto EntityDef en el que se basa el objeto.

Ejemplos

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