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

OptimisticLockingAttribute.FieldName Property

Gets the name of the system field which is used to control object locking for objects that have the object locking option enabled.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public string FieldName { get; }
Public ReadOnly Property FieldName As String

Property Value

Type Description
String

A String value that specifies the name of a system field.

Remarks

To control object locking for objects that have the object locking option enabled, a new system field is added to the object table's structure during the database schema update. By default, this system field is called OptimisticLockField. Use the constructor of the OptimisticLockingAttribute with the fieldName parameter to specify the system field's name.

For more information, see Optimistic Concurrency.

See Also