Delete rule in relationshop editor won't reflect in generated code

Posts   
 
    
SanderF
User
Posts: 125
Joined: 11-Dec-2006
# Posted on: 28-Dec-2017 12:55:55   

Hi,

I'm using LLBLGen Pro v5.3.1 Self servicing. I use database first and want to change the delete rule between two entities in the LLBLGen Designer. From the database there is a foreign key constraint without a cascading delete. I wan't to change this so that the related entities are deleted via the O/R Mapper because we've implemented logging in this framework.

When i change the delete rule from 'NoAction' to 'Cascade' and generate the code there are no changes (see screenshot). Can you explain this?

Attachments
Filename File size Added on Approval
Normal Relationship Editor.png 21,920 28-Dec-2017 12:56.07 Approved
Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 28-Dec-2017 16:22:11   

These will have no reflect on code, but rather are used in model-first or mixed mode, to generate the update script that should affect the database, and thus updating the FK rules in the database.