[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)
the callback method to be implemented to resolve a conflict.
Namespace: Db4objects.Db4o.Replication
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Function ResolveConflict ( _ replicationProcess As IReplicationProcess, _ a As Object, _ b As Object _ ) As Object |
C# |
---|
Object ResolveConflict ( IReplicationProcess replicationProcess, Object a, Object b ) |
Visual C++ |
---|
Object^ ResolveConflict ( IReplicationProcess^ replicationProcess, Object^ a, Object^ b ) |
Parameters
- replicationProcess
- Db4objects.Db4o.Replication.IReplicationProcess
the Db4objects.Db4o.Replication.IReplicationProcess for which this ReplicationConflictHandler is registered
- a
- System.Object
the object modified in the peerA ObjectContainer
- b
- System.Object
the object modified in the peerB ObjectContainer
Return Value
the object (a or b) that should prevail in the conflict or null, if no action is to be taken. If this would violate the direction set with Db4objects.Db4o.Replication.IReplicationProcess.SetDirection no action will be taken.
Remarks
the callback method to be implemented to resolve a conflict.