Link Object

A Link object connects two Entity objects.

Links are the edges in the tree of duplicates. Links point both to the original record (the parent) and to the duplicate record (the child). Both records must be state-based (as opposed to stateless). However, the parent and child do not need to be based on the same record type.

The methods of linking allow you to retrieve the:

  • Parent and child record objects that are linked together.
  • ID strings for the parent and child.
  • EntityDef that is the template for the parent or child.
  • Names of these EntityDefs

To create a Link object, use the MarkEntityAsDuplicate method of the Entity object that is to become the duplicate. To delete the object, use the UnmarkEntityAsDuplicate method.