db4o

ObjectField.cascadeOnUpdate Method 

sets cascaded update behaviour.

[Visual Basic]
Sub cascadeOnUpdate( _ 
   ByVal flag As Boolean _ 
)
[C#]
void cascadeOnUpdate(
   bool flag
);
[C++]
void cascadeOnUpdate(
   bool flag
);
[JScript]
function cascadeOnUpdate(
   bool flag
);

Parameters

flag
whether updates are to be cascaded to the member object.

Remarks

sets cascaded update behaviour.

Setting cascadeOnUpdate to true will result in the update of the object attribute stored in this field if the parent object is passed to ObjectContainer#set() .

The default setting is false.

See Also

ObjectField Interface | com.db4o.config Namespace | com.db4o.ObjectContainer.set | com.db4o.config.ObjectClass.cascadeOnUpdate | com.db4o.config.ObjectClass.updateDepth | Using callbacks