company logo

PropertyDefinition :: asynchronUpdates - UPDATE option

This option must be set, when the collection needs to be updated asynchronously by different applications. This option causes to create a database address (LOID) for the reference, which is already created, when new instance is created. Thus, the referenced collection can be updated without updating the instance owning the reference collection.

The option is set automatically, when an inverse relationship has been defined for a relationship. It is suggested, to set this option for all relationships.

For single references, this creates an intermediate access step before reading the referenced instance. Hence, this option cannot be changed for single references for an existing database without upgrading the database explicitly.

Notes:

References or relationships not marked as update cannot be locked, i.e. lockSet() will return an error.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool PropertyDefinition  :: asynchronUpdates (  )

If the function is not called with a valid database property definition it throws an exception.