LAPICALL AddReference(LDB db, LID from, LID to, RID type);

Adds a reference to an object.

db specifies the database.

from specifies the source of the new relation.

to specifies the target of the relation.

type specifies the relation type.