Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    OptimisticLockHandling Enum

    Contains values that specify conflict resolution strategies used by the optimistic locking mechanism.

    Namespace: DevExpress.ExpressApp.DC

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    public enum OptimisticLockHandling

    Members

    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.

    Remarks

    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