Skip to main content
.NET Framework 4.5.2+

OptimisticLockingBehavior Enum

Contains values that specify the field-level locking behavior.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.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).

Remarks

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

See Also