xpo-devexpress-dot-xpo-4cb035ff.md
Contains values that specify the field-level locking behavior.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public enum OptimisticLockingBehavior
Public Enum OptimisticLockingBehavior
| 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 ).
|
The following properties accept/return OptimisticLockingBehavior values:
The values listed by this enumeration are used by the OptimisticLockingAttribute.
See Also