ObjectRelation

MCM module
ObjectRelation extension

ObjectRelation can be used to create relations between objects in the CHAOS database.

ObjectRelation/Create

Creates a relation between two Objects.

Parameters:
  • object1GUID – GUID of the first object of the relation
  • object2GUID – GUID of the second object of the relation
  • objectRelationTypeID – ID of the type of the relation
  • sequence (integer, optional) –
Returns:

The number of affected rows in the database

ObjectRelation/Delete

Delete a relation between two Objects.

Parameters:
  • object1GUID – GUID of the first object of the relation
  • object2GUID – GUID of the second object of the relation
  • objectRelationTypeID – ID of the type of the relation
Returns:

The number of affected rows in the database