company logo

Check model

Keywords:  check model

ODABA supports a simple check model by defining check levels for properties in data type definitions. This allows running logical consistency checks against data to be stored in the database. A more sophisticated check model can be defined by setting up constraints for properties or complex data types or by implementing check handler (DBCheck()), which are called when check events are fired.

ODABA does not automatically generate checks for logical database consistency. In order to perform logical consistency checks, the CheckData() function must be called.

Related topics