IConfiguration.

DetectSchemaChanges(bool) Method

Summary

tuning feature: configures whether db4o checks all persistent classes upon system startup, for added or removed fields.

Syntax

void DetectSchemaChanges(bool flag)

Remarks

tuning feature: configures whether db4o checks all persistent classes upon system startup, for added or removed fields.

If this configuration setting is set to false while a database is being created, members of classes will not be detected and stored.

This setting can be set to false in a production environment after all persistent classes have been stored at least once and classes will not be modified any further in the future.

In a client/server environment this setting should be configured both on the client and and on the server.

Default value: true

Parameters

Name Type Description
flag bool the desired setting

Return Value

Type Description
void