RuleUniqueValueAttribute.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.v26.1.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| CriteriaEvaluationBehavior | InTransaction | A CriteriaEvaluationBehavior enumeration value representing the behavior for searching for the required objects. |
Remarks
When defining the RuleUniqueValueAttribute in code, the value for the CriteriaEvaluationBehavior property is passed as a named parameter. This means that you do not have to specify it. However, when specifying the parameter, use the following format: CriteriaEvaluationBehavior = CriteriaEvaluationBehavior.InTransaction.
See Also