Skip to main content
.NET Framework 4.6.2+

OptimisticLockingAttribute(String) Constructor

Initializes a new instance of the OptimisticLockingAttribute class with the specified field name.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public OptimisticLockingAttribute(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A string that specifies the name of a system field. This value is assigned to the OptimisticLockingAttribute.FieldName property.

Remarks

To control object locking for objects that have the object locking option enabled, a new system field (by default, OptimisticLockField) is added to the object table’s structure during the database schema update.

See Also