I have a table with a self reference where the ParentId is an FK to the ID (PK). Using EF (code-first), I\'ve set up my relationship as follows:
this.Ha
There is another way, (think about the draw backs before doing it ... ) you can set the relationship to be ON DELETE CASCADE, and try to delete just the parent row.