db4o

IReplicationProcess Methods

The methods of the IReplicationProcess interface are listed below. For a complete list of IReplicationProcess interface members, see the IReplicationProcess Members topic.

Public Instance Methods

CheckConflict checks if an object has been modified in both ObjectContainers involved in the replication process since the last time the two ObjectContainers were replicated.
Commitcommits the replication task to both involved ObjectContainers.
PeerAreturns the "peerA" ObjectContainer involved in this ReplicationProcess.
PeerBreturns the "peerB" ObjectContainer involved in this ReplicationProcess.
Replicatereplicates an object.
Rollbackends a replication task without committing any changes.
SetDirection modifies the replication policy, what to do on a call to Db4objects.Db4o.Replication.IReplicationProcess.Replicate .

If no direction is set, the replication process will be bidirectional by default.
WhereModified adds a constraint to the passed Query to query only for objects that were modified since the last replication process between the two ObjectContainers involved in this replication process.

See Also

IReplicationProcess Interface | Db4objects.Db4o.Replication Namespace | Db4objects.Db4o.Ext.IExtObjectContainer.ReplicationBegin