Skip to main content
.NET 6.0+

OptimisticLockingAttribute.LockingKind Property

Specifies the locking behavior.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

#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