expressappframework-devexpress-dot-expressapp-dot-dc-874b3b94.md
Contains values that specify conflict resolution strategies used by the optimistic locking mechanism.
Namespace : DevExpress.ExpressApp.DC
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public enum OptimisticLockHandling
Public Enum OptimisticLockHandling
| Name | Description |
|---|---|
Default |
XAF uses the conflict resolution strategy from the previous hierarchy level. For example, if you specified the Default value for a class, XAF takes the option value from the Object Space.
|
| None |
XAF does not handle conflict resolution automatically. The user can choose the resolution strategy in a dialog window.
|
| Merge |
XAF merges changes automatically. If there are conflicts, XAF displays a pop-up window with resolution options.
|
| Ignore |
XAF ignores database changes and writes local values to the database.
|
| Reload |
XAF ignores local changes and overwrites them with database values.
|
The following properties accept/return OptimisticLockHandling values:
For more information on how to specify this option, refer to the following help topic: Configure Conflict Detection and Handling Options.
For more information on how OptimisticLockHandling and OptimisticLockDetection work together, refer to the following section: Collision Detection and Handling Behaviors.
See Also