Skip to main content
A newer version of this page is available. .

XPClassInfo.OptimisticLockingBehavior Property

Specifies the persistent object’s locking behavior.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public OptimisticLockingBehavior OptimisticLockingBehavior { get; }

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