edmiHashModelInstances

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


Type

Name

Comment

SdaiModel

modelId

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

Return Value


Options


 

Example


 

 <example>

 

See also