edmiGetExtent
SdaiInstance edmiGetExtent(SdaiModel model, SdaiEntity entityId);
Returns the numeric instanceID that uniquely identifies the entity extent instance for the specified instance type in the specified model. There is one entity extent instance in a model for each possible instance type in that model. The actual model must be open before this function can be successfully performed.
The sdaiGetEntityExtent and sdaiGetEntityExtentBN functions return the aggregateID of the attribute named instances in the related entity extent instance. The edmiGetExtent and edmiGetExtentBN functions return the instanceID of the related entity extent instance.
Arguments
Type | Name | Comment |
SdaiModel | model | A numeric modelID that uniquely identifies the model of interest in the EDMdatabase . The modelID is returned from the functions: sdaiCreateModel , sdaiCreateModelBN , sdaiOpenModelBN , edmiGetModel , edmiGetModelBN , sdaiGetInstanceModel |
SdaiEntity | entityId | A numeric entityID that uniquely identifies the entity definition instance of interest in the EDMdatabase , i.e. defines the entity extent instance of interest. The entityID is returned by the sdaiGetEntity function. |
Return Value
Type | Comment |
SdaiInstance | A datatype of EdmiError with the following values:
|
Options
Example
<example>
See also
Filter by label
There are no items with the selected labels at this time.