...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxGetMemberCount(aggregateId : GENERIC;
VAR elementsInAggr : INTEGER)
status : INTEGER;
|
The xpxGetMemberCount function returns the number of elements in the specified persistent aggregate aggregateId in the argument elementsInAggr.
Arguments
...
Type | Name | Comment |
GENERIC | aggregateId | comment |
INTEGER | elementsInAggr |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
FUNCTION getMemberCount(modelId : GENERIC; entityName : STRING) : INTEGER; LOCAL extentId : GENERIC; members : INTEGER; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError. |
...
');
xpxThrow;
END_ON_ERROR_DO;
xpxGetEntityExtentBN(modelId,entityName,extentId);
members := xpfGetMemberCount(extentId);
xpxPrintf('\n%d Members in model.',members);
RETURN(members);
END_FUNCTION; |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|