company logo

DBObjectHandle :: GetExtInstModCount - Get external modification count

The external modification count for a database entry is increased, whenever the instance is stored to the database. After reaching 255, it starts with 1 again. The modification count can be used to determine, whether the database entry has been changed or not after the last check.

The object identifier passed to the function addresses the database entry, which is typically an object instance but could be a collection index as well.

Return value:  Modification count ( uint16  )

The modification count contains the number of modifications for an instance. After 255 modifications it starts to count from the beginning. Only modifications that are written to database are counted.

Implementation details

uint16 DBObjectHandle  :: GetExtInstModCount ( int64 objid )
  • objid - - internal feature (not documented)