Each delete relationship semantic must implement the IDeleteRelSemantic interface. This interface consists of two methods:
-
CanRelBeDeleted – called before the relationship is deleted. This method allows the semantic the opportunity to abort the deletion of the relationship before it occurs.
-
DeleteRel – called after the relationship is deleted. Any post-deletion logic can be performed from within this method.