IObjectClass.

CascadeOnUpdate(bool) Method

Summary

sets cascaded update behaviour.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Config
Containing Type
IObjectClass

Syntax

void CascadeOnUpdate(bool flag)

Remarks

sets cascaded update behaviour.

Setting cascadeOnUpdate to true will result in the update of all member objects if a stored instance of this class is passed to Db4objects.Db4o.IObjectContainer.Store(System.Object) .

The default setting is false. Setting it to true may result in serious performance degradation.

In client-server environment this setting should be used on both client and server.

This setting can be applied to an open object container.

Parameters

Name Type Description
flag bool whether updates are to be cascaded to member objects.

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.Config.IObjectField.CascadeOnUpdate(System.Boolean)
  • com.db4o.ObjectContainer#set
  • Db4objects.Db4o.Ext.IObjectCallbacks