Determines the overall change type based on the presence of added, edited, and deleted entities in the synchronization .
Syntax
public ChangeType DetermineChangeType<T>(Result<T> result, bool DetailedComparison)
Type Parameters
Parameters
Name |
Type |
Description |
result |
Result<T> |
The synchronization containing information about added, edited, and deleted entities. |
DetailedComparison |
bool |
Specifies whether to consider detailed property changes for edited entities. Default is true. |
Return Value
Type |
Description |
ChangeType |
A ChangeType enum value indicating the overall change type:
-
All - Added, edited, and deleted entities are present.
-
Added - Only added entities are present.
-
AddedWithEdited - Added and edited entities are present (with or without detailed property changes).
-
Edited - Only edited entities are present (with or without detailed property changes).
-
EditedWithDeleted - Edited entities and deleted entities are present (with or without detailed property changes).
-
Deleted - Only deleted entities are present.
-
None - No significant changes are detected.
|
See Also