Back to Devexpress

OptimisticLockingAttribute.LockingKind Property

xpo-devexpress-dot-xpo-dot-optimisticlockingattribute.md

latest1.7 KB
Original Source

OptimisticLockingAttribute.LockingKind Property

Specifies the locking behavior.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public OptimisticLockingBehavior LockingKind { get; set; }
vb
Public Property LockingKind As OptimisticLockingBehavior

Property Value

TypeDescription
OptimisticLockingBehavior

An OptimisticLockingBehavior enumeration value that specifies the locking behavior.

|

Available values:

NameDescription
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

OptimisticLockingAttribute Class

OptimisticLockingAttribute Members

DevExpress.Xpo Namespace