OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior, Boolean) Constructor
Initializes a new instance of the OptimisticLockingReadBehaviorAttribute class with the specified OptimisticLockingReadBehaviorAttribute.Behavior and OptimisticLockingReadBehaviorAttribute.TrackPropertiesModifications property values.
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 |
---|---|---|
behavior | OptimisticLockingReadBehavior | An OptimisticLockingReadBehavior enumeration value that specifies how XPO behaves when reloading changed objects (objects with different versions). Overrides the Session.OptimisticLockingReadBehavior setting. |
trackPropertiesModifications | Boolean | true, if the persistent objects’ properties modifications are tracked; otherwise, false. Overrides the Session.TrackPropertiesModifications setting. |