RuleBaseAttribute Class

Represents a base class for validation system attributes.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v18.1.dll

Syntax

public abstract class RuleBaseAttribute :
    Attribute,
    _Attribute,
    IRuleBaseAttribute,
    IRuleCollectionPropertyProperties,
    IRuleBaseProperties

In the eXpressApp Framework, to define a particular validation rule for a business class or its property, you can use built-in validation attributes. The RuleBaseAttribute represents a base class for all validation attributes. It provides properties that can be used in any descendent attribute. For details, refer to the class' member list.

Note

Alternatively, you can define validation rules in the Application Model. See the Validation Rules topic, for details.

See Also