Seting the Referential Integrity for Delete in the dct, setting it to Restrict you can never delete the parent file.
When trying to delete the parent you get the Cant delete bacause it has childs message and its ok.
Then I go to the childs and deleted all.
Trying again you get the same message, you can delete the parent.
That is because when you delete the childs NT does not do it phisically but changing the dct field.
But the RI is still there.
I suppouse Nt does it (not delete but change dts) deriving the delete class.
Is there any way to add code to dont restrict if all the parent childs has dct>0?
Thanks