If a repository item has a property with the item-type
attribute and the cascade="insert"
attribute set, on item creation:
A new item of the type declared by the
item-type
attribute is also created.The property is set to point to the other item created.
The cascade="insert"
attribute is typically used with cascade="update"
and cascade="delete"
so 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
.