[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
prepares for replication with another
Db4objects.Db4o.IObjectContainer
.
An Db4objects.Db4o.IObjectContainer can only be involved in a replication process with one other Db4objects.Db4o.IObjectContainer at the same time.
The returned Db4objects.Db4o.Replication.IReplicationProcess interface provides methods to commit and to cancel the replication process.
This ObjectContainer will be "peerA" for the returned ReplicationProcess. The other ObjectContainer will be "peerB".
Namespace: Db4objects.Db4o.Ext
An Db4objects.Db4o.IObjectContainer can only be involved in a replication process with one other Db4objects.Db4o.IObjectContainer at the same time.
The returned Db4objects.Db4o.Replication.IReplicationProcess interface provides methods to commit and to cancel the replication process.
This ObjectContainer will be "peerA" for the returned ReplicationProcess. The other ObjectContainer will be "peerB".
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Function ReplicationBegin ( _ peerB As IObjectContainer, _ conflictHandler As IReplicationConflictHandler _ ) As IReplicationProcess |
C# |
---|
IReplicationProcess ReplicationBegin ( IObjectContainer peerB, IReplicationConflictHandler conflictHandler ) |
Visual C++ |
---|
IReplicationProcess^ ReplicationBegin ( IObjectContainer^ peerB, IReplicationConflictHandler^ conflictHandler ) |
Parameters
- peerB
- Db4objects.Db4o.IObjectContainer
the Db4objects.Db4o.IObjectContainer to replicate with.
- conflictHandler
- Db4objects.Db4o.Replication.IReplicationConflictHandler
the conflict handler for this ReplicationProcess. Conflicts occur whenever Db4objects.Db4o.Replication.IReplicationProcess.Replicate is called with an object that was modified in both ObjectContainers since the last replication run between the two. Upon a conflict the Db4objects.Db4o.Replication.IReplicationConflictHandler.ResolveConflict method will be called in the conflict handler.