...
Code Block | ||||
---|---|---|---|---|
| ||||
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. Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetAggrDomain (SdaiAggr aggrId,
SdaiInstance *domainId);
Arguments:
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
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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 (Content by label) | ||||||
---|---|---|---|---|---|---|
|