Hello Flavio, I don't understand your question about the OnParentDelete? What does your application do and how it relates to Data Modeler?
Are you referring to OnParentDelete cascade or set null? Please explain the exact situation with examples, I'm a little bit lost on what is the exact scenario. Aurelius doesn't create or modify anything in database structure regarding delete cascades. It performs its own mechanism, using TCascadeType.Remove flag in the association. If it's present, it will manually delete the associated records together with the parent. If not present, it will simply try to delete the parent record and the database will take care of the rest.
Tryed but dosen't work, i did wrong someting then
OnParentDelete set null
I have 2 tables
Table 1 width an ID and Table 2 whidth a reference width table 1, this reference is OnParentDelete set null.
if i delete a row width a reference from table 1 my application rise an exception: violation of the key.
Why this? a "OnParentDelete: set null" should set the value of table 1 reference in table 2 to null before the actual deleting? Am I wrong?
About foreign key names, can you please try again and provide the exact problem you are having? What do you mean by it doesn't work? Any error message? Any specific behavior?