[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

sets cascaded delete behaviour.

Namespace: Db4objects.Db4o.Config
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Sub CascadeOnDelete ( _
	flag As Boolean _
)
C#
void CascadeOnDelete (
	bool flag
)
Visual C++
void CascadeOnDelete (
	bool flag
)

Parameters

flag
System.Boolean
whether deletes are to be cascaded to the member object.

Remarks

sets cascaded delete behaviour.

Setting cascadeOnDelete to true will result in the deletion of the object attribute stored in this field on the parent object if the parent object is passed to ObjectContainer#delete() .

Caution !
This setting will also trigger deletion of the old member object, on calls to ObjectContainer#set() . An example of the behaviour can be found in ObjectClass#cascadeOnDelete()

The default setting is false.

See Also