OptimisticLockingAttribute(String) Constructor
Initializes a new instance of the OptimisticLockingAttribute class with the specified field name.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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