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

OptimisticLockingAttribute(String) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.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