IObjectField.

CascadeOnUpdate(bool) Method

Summary

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

Syntax

void CascadeOnUpdate(bool flag)

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 Db4objects.Db4o.IObjectContainer.Store(System.Object) .

The default setting is false.

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 the member object.

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.IObjectContainer.Store(System.Object)
  • Db4objects.Db4o.Config.IObjectClass.CascadeOnUpdate(System.Boolean)
  • Db4objects.Db4o.Config.IObjectClass.UpdateDepth(System.Int32)
  • Db4objects.Db4o.Ext.IObjectCallbacks