edmiGetAggrDomain
EdmiError edmiGetAggrDomain (SdaiAggr aggrId, SdaiInstance *domainId);
Returns the domain of the specified aggregate. The domain of an aggregate is an entity instance of array_type, bag_type, list_type or set_type. These instance types (entities) are defined in the EDMmetaMetaModel named SDAI_DICTIONARY_MODEL_DICTIONARY_DATA. The actual model that hosts the specified aggregate must be open before this operation can be successfully performed.
Â
Arguments
Type | Name | Comment |
SdaiAggr | aggrId | A numeric aggregateID that uniquely identifies the aggregate of interest in the EDMdatabase. The aggregateID is returned when the aggregate is created. |
SdaiInstance | domainId | Address of a variable that will receive a numeric instanceID that uniquely identifies the aggregate domain instance in an EDMdatabase |
Return Value
Options
Â
Example
Â
EdmiError rstat; SdaiAggr aggrId; SdaiInstance aggrDomainId; . . . if (rstat = edmiGetAggrDomain(aggrId, &aggrDomainId)) { /* Error in operation */ printf("\nError: %s in edmiGetAggrDomain\n", edmiGetErrorText(rstat)); goto error; }
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â