RuleIsReferencedAttribute.CriteriaEvaluationBehavior Property
Specifies whether to look for objects that are currently retrieved from the database, in addition to the objects in the database itself.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public CriteriaEvaluationBehavior CriteriaEvaluationBehavior { get; set; }
#Property Value
Type | Description |
---|---|
Criteria |
A Criteria |
Available values:
Name | Description |
---|---|
Before |
Only objects in the database are considered. |
In |
Objects in the database and those that are currently retrieved from it are considered. |
#Remarks
The following values are available:
BeforeTransaction
Only objects in the database will be considered.
InTransaction
Objects in the database and those that are currently retrieved from it will be considered.
By default, this property is set to InTransaction.
Note
When defining the Rule