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.

    EFCoreObjectSpaceProvider<TDbContext>.OptimisticLockHandling Property

    Specifies how XAF resolves collisions: merges changes automatically or offers conflict resolution options.

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.EFCore

    Declaration

    [DefaultValue(OptimisticLockHandling.Merge)]
    public OptimisticLockHandling OptimisticLockHandling { get; set; }

    Property Value

    Type Default Description
    OptimisticLockHandling Merge

    A conflict handling strategy.

    Remarks

    For detailed information, refer to the following topic: Optimistic Locking (Concurrency Control in EF Core).

    See Also