If a repository item has a property with the item-type
attribute and the cascade="insert"
attribute set, then when the item is created:
a new item of the type declared by the
item-type
attribute is also created; andthis property is set to point to the other item created.
The cascade="insert"
attribute is typically used with cascade="update"
and cascade="delete"
so that management of this item is completely automatic. The item is created, added, updated, and deleted along with the parent item.
The cascade="insert"
attribute is ignored for properties that use component-item-type
.