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>.OptimisticLockDetection Property

    Specifies whether XAF identifies conflicting changes by using just the object’s concurrency token or by assessing all object properties.

    Namespace: DevExpress.ExpressApp.EFCore

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

    NuGet Package: DevExpress.ExpressApp.EFCore

    Declaration

    [DefaultValue(OptimisticLockDetection.AllFields)]
    public OptimisticLockDetection OptimisticLockDetection { get; set; }

    Property Value

    Type Default Description
    OptimisticLockDetection AllFields

    A conflict detection strategy.

    Remarks

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

    See Also