Enabling or Disabling Dormant Objects
The ability to retain business objects in a dormant state is determined by a flag in the Root class (metaroot table). This flag is off by default. Metacreate and metamigrate provide options for enabling or disabling dormant objects.
The retain business objects flag can be modified programmatically with the CMetaRepository::SetRetainBusinessObjects API
Enabling dormant objects only requires setting the flag in the metaroot table.
If dormant objects are currently supported, in order to disable dormant objects, all dormant objects in the DIM must be found and removed from the repository. This is the equivalent of a CMetaObject::ForceDelete for each such object.