Skip to main content
A newer version of this page is available. .

OptimisticLockingAttribute.LockingKind Property

Specifies the locking behavior.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public OptimisticLockingBehavior LockingKind { get; set; }

Property Value

Type Description
OptimisticLockingBehavior

An OptimisticLockingBehavior enumeration value that specifies the locking behavior.

Available values:

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).

See Also