The options for how conflicts are to be handled during change-merging in an OptimisticConcurrencyControlPolicy. The scenario is that the caller has made some changes to the local IModelDb. Now, the caller is attempting to merge in changes from iModelHub. The properties of this policy specify how to handle the incoming changes from iModelHub.
|constructor(updateVsUpdate?: ConcurrencyControl.OnConflict, updateVsDelete?: ConcurrencyControl.OnConflict, deleteVsUpdate?: ConcurrencyControl.OnConflict): ConcurrencyControl.ConflictResolutionPolicy||Construct a ConflictResolutionPolicy.|
|deleteVsUpdate||ConcurrencyControl.OnConflict||What to do with the incoming change in the case where an element was deleted locally and would be updated by the incoming change.|
|updateVsDelete||ConcurrencyControl.OnConflict||What to do with the incoming change in the case where an element was updated locally and would be deleted by the incoming change.|
|updateVsUpdate||ConcurrencyControl.OnConflict||What to do with the incoming change in the case where the same element was updated locally and also would be updated by the incoming change.|
Last Updated: 14 November, 2019