Integrities

In case you want to automatically delete children items when a parent item is suppressed, you need to define the integrity parameter.
Open the properties of the children Foreign Key, and choose your prefered option.

N:M Foreign Key Integrity Cook

The integrities are infinitely cascadable.



Many to Many

If you are using many-to-many relations in your component, you need to set this option for both foreign keys. (Most cases)

For every foreign key in the Pivot table, choose 'FK integrity' = 'cascad' in the field properties.
(The previous image is giving the example)

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started