LookupPrimaryEntityDefName
Description
Returns the name of the EntityDef Object on which the query is based.
A ResultSet can be based on either a QueryDef Object or an SQL string. A query that uses a QueryDef object must also have an associated EntityDef object, and thus this method returns the name of that object.
Syntax
VBScript
resultset.LookupPrimaryEntityDefName
Perl
$resultset->LookupPrimaryEntityDefName
();
- Identifier
- Description
- resultset
- A ResultSet object, representing the rows and columns of data resulting from a query.
- Return value
- A String containing the name of the EntityDef object. If the query was defined using the BuildSQLQuery method of Session, the resulting String is Empty.