Delete detail issue

Hi Nikos,
You should add TCascadeType.RemoveOrphan to the detail cascade: