.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

OptimisticLockingReadBehaviorAttribute Class

Specifies the field-level optimistic locking settings of a persistent object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true)]
public sealed class OptimisticLockingReadBehaviorAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=True)>
Public NotInheritable Class OptimisticLockingReadBehaviorAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true)]
public sealed class OptimisticLockingReadBehaviorAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=True)>
Public NotInheritable Class OptimisticLockingReadBehaviorAttribute
    Inherits Attribute

Remarks

This attribute overrides the Session.TrackPropertiesModifications and Session.OptimisticLockingReadBehavior settings of the Session.

Inheritance

Object
Attribute
OptimisticLockingReadBehaviorAttribute
See Also