IConfiguration.

Callbacks(bool) Method

Summary

turns callback methods on and off.

Syntax

void Callbacks(bool flag)

Remarks

turns callback methods on and off.

Callbacks are turned on by default.

A tuning hint: If callbacks are not used, you can turn this feature off, to prevent db4o from looking for callback methods in persistent classes. This will increase the performance on system startup.

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

Parameters

Name Type Description
flag bool false to turn callback methods off

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.Ext.IObjectCallbacks