.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

OptimisticLockingBehavior Enum

Contains values that specify the field-level locking behavior.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public enum OptimisticLockingBehavior
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