Hi All,
I am trying to understand how and why some Delete Rules ensure referential integrity. Can anyone explain what internally happens when we set the Delete Rule of our foreign key?
Thanks!
Hi,
When you set the Delete Rule to Protect/Delete, the indexes are automatically generated for those foreign keys and they support Referential Integrity then.
Only the Delete and Protect Delete Rules protect Referential Integrity. Ignore doesn't.
Hello
You can check in a documentation it is well explained
check here
https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Data_Modeling/Entity_Relationships/Delete_Rules
https://www.outsystems.com/training/lesson/859/modeling-data-relationships-exercise
Hope this helps
Thanks
Hi Quinten,
I think this document has explained it very clearly with example, please check it Doc Link