Skip to main content
.NET 8.0+

OptimisticLockingBehavior Enum

Contains values that specify the field-level locking behavior.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public enum OptimisticLockingBehavior

#Members

Name Description
NoLocking

Locking is disabled.

ConsiderOptimisticLockingField

The optimistic lock field is considered.

LockModified

Modified properties are checked (requires that the Session.TrackPropertiesModifications property is set to true).

LockAll

All properties are checked (requires that the Session.TrackPropertiesModifications property is set to true).

#Related API Members

The following properties accept/return OptimisticLockingBehavior values:

#Remarks

The values listed by this enumeration are used by the OptimisticLockingAttribute.

See Also