[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

turns automatic database file format version updates on.

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

Syntax

Visual Basic (Declaration)
Sub AllowVersionUpdates ( _
	flag As Boolean _
)
C#
void AllowVersionUpdates (
	bool flag
)
Visual C++
void AllowVersionUpdates (
	bool flag
)

Parameters

flag
System.Boolean

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.