0

I'm working with a closure table that manipulate different types of nodes:"program", "project", "region", ....

In fact I have a location table that has the Ids of all my nodes let call this table "StructureElement" . From this table inherit our nodes : "program", "project", "region", .... Then I have the closure table that links those elements together.

The problem is that I can delete a program from the table "program" and it would still exist in the closure table.

How can I remedy to this without using triggers?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
I.Elfakri
  • 1
  • 2

0 Answers0