ICommonConfiguration.

AllowVersionUpdates Property

Summary

turns automatic database file format version updates on.

Syntax

bool AllowVersionUpdates { set; }

Remarks

turns automatic database file format version updates on.

Upon db4o database file format version changes, db4o can automatically update database files to the current version. db4objects does not provide functionality to reverse this process. It is not ensured that updated database files can be read with older db4o versions. In some cases (Example: using ObjectManager) it may not be desirable to update database files automatically therefore automatic updating is turned off by default for security reasons.

Call this method to turn automatic database file version updating on.

If automatic updating is turned off, db4o will refuse to open database files that use an older database file format.

In client/server environment it is good practice to configure the client and the server in exactly the same way.

Value

Type Description
bool