In Alfresco, when you delete a document that has associated links, these links are automatically deleted.
However, I have created a link to a document using the CMIS (Apache Chemistry PortCMIS client library for .NET) and when I delete de document, these links are NOT deleted.
In fact, if I try to delete the links and the original document has already deleted, Alfresco throws an error because the links reference a document that doesn´t exists.
Is there any property to take into account when the links are created, so that they are automatically deleted?