db4o

IObjectCallbacks Interface

callback methods.

For a list of all members of this type, see IObjectCallbacks Members.

public interface IObjectCallbacks

Remarks

callback methods.

Examples: ../com/db4o/samples/callbacks.

This interface only serves as a lists of all available callback methods. Every method is called individually, independant of implementing this interface.

Using callbacks
Simply implement one or more of the listed methods in your application classes to do tasks before activation, deactivation, delete, new or update, to cancel the action about to be performed and to respond to the performed task.

Callback methods are typically used for:
- cascaded delete
- cascaded update
- cascaded activation
- restoring transient members on instantiation

Callback methods follow regular calling conventions. Methods in superclasses need to be called explicitely.

All method calls are implemented to occur only once, upon one event.

Requirements

Namespace: Db4objects.Db4o.Ext

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

See Also

IObjectCallbacks Members | Db4objects.Db4o.Ext Namespace