edmiHashModelInstances

EdmiError edmiHashModelInstances(SdaiModel modelId);

Will build a hash table for the MODEL_CONTENTS and ENTITY_EXTENT aggregates of the specified model. This function is used for performance optimization of instance deletion. In an EDMserver system this function is only legal in an open write transaction on the actual model. This hash table will be deleted when starting a new outer transaction or when the model is closed. The hash table must therefore be recreated when needed, like before new delete operations.

Arguments


TypeNameComment
SdaiModelmodelIdA 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

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 <example>

 

See also

Filter by label

There are no items with the selected labels at this time.

 

Related pages