XPClassInfo.OptimisticLockingBehavior Property
Specifies the persistent object’s locking behavior.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v18.2.dll
Declaration
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