company logo

DBBaseContext :: doAfterInitialize - After initialize handler

The after initialize handler is called when a data instance has been initialized ( DBO_Initialize event). When the handler is called the instance is not yet selected in the property handle. Hence, only attributes can be accessed in the instance in this phase. References and relationships are not accessible.

The handler can be overloaded in specialized property and type context class implementations.

Return value:  Execution error ( int32  )

The value is usually returned from context functions or actions in order to report the result of execution. The variable may contain following values:

  • -1: function/action not executed
  • 0: function executed normally
  • 1-9: Function executed with errors. Error codes depend on the function/action called.

Implementation details

int32 DBBaseContext  :: doAfterInitialize (  )