Skip to main content
.NET 8.0+

OptimisticLockingAttribute(OptimisticLockingBehavior) Constructor

In This Article

Initializes a new instance of the OptimisticLockingAttribute class with the specified OptimisticLockingAttribute.LockingKind property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public OptimisticLockingAttribute(
    OptimisticLockingBehavior lockingKind
)

#Parameters

Name Type Description
lockingKind OptimisticLockingBehavior

An OptimisticLockingBehavior enumeration value that specifies the locking behavior.

See Also