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

commits the replication task to both involved ObjectContainers.

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

Syntax

Visual Basic (Declaration)
Sub Commit
C#
void Commit ()
Visual C++
void Commit ()

Remarks

commits the replication task to both involved ObjectContainers.

Call this method after replication is completed to write all changes back to the database files. This method synchronizes both ObjectContainers by setting the transaction serial number (@link ExtObjectContainer#version()) on both ObjectContainers to be equal to the higher version number among the two. A record with information about this replication task, including the synchronized version number is stored to both ObjectContainers to allow future incremental replication.