Provides access to members that control the conflict class.
Description
References to the IConflictClass interface are obtained from the IEnumConflictClass enumerator. It is provided as a mechanism to work with conflicting rows from each conflict class after performing a reconcile. If IVersionEdit.Reconcile is not been called prior to getting a reference to the IEnumConflictClass enumerator, the classes will not be available.
Members
Name | Description | |
---|---|---|
DeleteUpdates | The selection set of all the objects which are delete/update conflicts. | |
HasConflicts | Indicates if the conflict class contains conflicts. | |
RestoreRow | Restores the row from either the reconcile version or the prereconcile version. | |
UpdateDeletes | The selection set of all the objects which are update/delete conflicts. | |
UpdateUpdates | The selection set of all the objects which are update/update conflicts. |
IConflictClass.DeleteUpdates Property
The selection set of all the objects which are delete/update conflicts.
Public ReadOnly Property DeleteUpdates As ISelectionSet
public ISelectionSet DeleteUpdates {get;}
Remarks
The DeleteUpdates method returns an ISelectionSet of all the object IDs of rows that have been deleted in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
IConflictClass.HasConflicts Property
Indicates if the conflict class contains conflicts.
Public ReadOnly Property HasConflicts As Boolean
public bool HasConflicts {get;}
Remarks
The HasConflicts method returns a Boolean if the conflict class contains conflicts.
IConflictClass.RestoreRow Method
Restores the row from either the reconcile version or the prereconcile version.
Public Function RestoreRow ( _
ByVal rowID As Long _
) As IRow
public IRow RestoreRow (
long rowID
);
Remarks
The RestoreRowmethod should only be called in the case of restoring a row that was removed in the edit session because of a DeleteUpdate conflict with the target version.
The row is restored from the pre-reconcile version that represents the state of the database prior to the reconcile operation.
IConflictClass.UpdateDeletes Property
The selection set of all the objects which are update/delete conflicts.
Public ReadOnly Property UpdateDeletes As ISelectionSet
public ISelectionSet UpdateDeletes {get;}
Remarks
The UpdateDeletes method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and deleted in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
IConflictClass.UpdateUpdates Property
The selection set of all the objects which are update/update conflicts.
Public ReadOnly Property UpdateUpdates As ISelectionSet
public ISelectionSet UpdateUpdates {get;}
Remarks
The UpdateUpdates method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.
The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.
Classes that implement IConflictClass
Classes | Description |
---|