GetEntityDefName

설명

이 오브젝트의 템플리트인 EntityDef 오브젝트의 이름을 리턴합니다.

해당 EntityDef 오브젝트를 가져오려면 Session 오브젝트의 GetEntityDef 메소드를 호출하십시오.

EntityDef 오브젝트의 메소드를 사용하기 전에, Entity의 메소드를 조사하여 메소드 중 하나가 사용자에게 필요한 정보를 리턴하는지 판별하십시오. Entity의 메소드로부터 직접 EntityDef 오브젝트에서 사용 가능한 보다 일반적인 일부 정보를 확보할 수도 있습니다.

구문

VBScript

entity.GetEntityDefName 

Perl

$entity->GetEntityDefName(); 
ID
설명
entity
사용자 데이터 레코드를 나타내는 Entity 오브젝트. 후크 내에서 구문에 이 부분을 생략할 경우, Entity 오브젝트가 현재 데이터 레코드에 해당한다고 가정합니다(VBScript에만 해당).
Return value
이 오브젝트가 기본으로 하는 EntityDef 오브젝트 이름을 포함하는 문자열.

예제

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);

피드백