Back to Devexpress

XPClassInfo.OptimisticLockingBehavior Property

xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-b05c46a8.md

latest1.8 KB
Original Source

XPClassInfo.OptimisticLockingBehavior Property

Specifies the persistent object’s locking behavior.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public OptimisticLockingBehavior OptimisticLockingBehavior { get; }
vb
Public ReadOnly Property OptimisticLockingBehavior 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

XPClassInfo Class

XPClassInfo Members

DevExpress.Xpo.Metadata Namespace