Summary
turns automatic database file format version updates on.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IConfiguration
Syntax
void AllowVersionUpdates(bool flag)
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 this setting should be used on both client and server.
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 this setting should be used on both client and server.
Parameters
Name | Type | Description |
---|---|---|
flag | bool |
Return Value
Type | Description |
---|---|
void |