XPClassInfo.OptimisticLockingBehavior Property
Specifies the persistent object’s locking behavior.
Namespace: DevExpress.Xpo.Metadata
Assembly:
DevExpress.Xpo.v25.2.dll
Declaration
public OptimisticLockingBehavior OptimisticLockingBehavior { get; }
Public ReadOnly Property OptimisticLockingBehavior As OptimisticLockingBehavior
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