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