GetDefaultEntityDef

Description

Returns the schema's default EntityDef object.

This method returns the default EntityDef object as defined in the schema. For methods that require a named EntityDef object, DevOps Plan uses the default EntityDef object when the name is the empty string ("").

Syntax

Perl


$session->GetDefaultEntityDef(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
The default EntityDef object.

Example

Perl


#Create a DevOps Plan session

$sessionObj = $entity->GetSession();



#Get the default record type of the schema

$defEntityDef = $sessionObj->GetDefaultEntityDef();