This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a situation where I want to delete a record from a table (Person) and want to delete the children of this record as well (Address). A person has many address. Is there any way to specify this behavior in the code generated by the visual designer? If not, is there any other workaround?
|
|
|
Is the association nullable? If not, child entities are deleted automatically when the parent entity is deleted. If you need the association to be nullable, you can still get cascade delete behaviour by setting Dependent to true on the association, though this may have other side effects. |
|