OptimisticLockingReadBehavior Enum
Lists the values that specify how XPO behaves when reloading changed objects (objects with different versions).
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
#Members
Name | Description |
---|---|
Default
|
The default behavior can be changed by setting the Xpo |
Ignore
|
The changed objects are not reloaded. |
Reload
|
The changed objects are automatically reloaded. |
Mixed
|
If a transaction has been started, the changed objects are not reloaded. Otherwise, the changed objects are automatically reloaded. For example, transaction starts after you modify objects in the session. |
Throw
|
An exception is thrown. |
Merge
|
When the client-side and database values of a property are different, the client-side value persists. When field-level tracking is disabled (see Session. |
Merge
|
When the client-side and database values of a property are different, an exception is thrown. When field-level tracking is disabled (see Session. |
Merge
|
When the client-side and database values of a property are different, the database value is reloaded. When field-level tracking is disabled (see Session. |
#Related API Members
The following properties accept/return OptimisticLockingReadBehavior values:
#Remarks
The values listed by this enumeration, except the Default value, are used to set the Session.OptimisticLockingReadBehavior and XpoDefault.OptimisticLockingReadBehavior properties.