Skip to main content
.NET 6.0+

DevExpress.Persistent.Validation Namespace

Contains interfaces and classes used in the XAF‘s Validation Module module.

Assembly: DevExpress.Persistent.Base.v23.2.dll

Classes

Name Description
CodeRuleAttribute Applied to a validation rule. Specifies that the rule is intended for a particular business class and does not have a corresponding validation attribute.
CustomIsEmptyValueEventArgs Arguments passed to the RuleSet.CustomIsEmptyValue event.
CustomNeedToValidateRuleEventArgs Arguments passed to the RuleSet.CustomNeedToValidateRule event.
CustomValidateRuleEventArgs Arguments passed to the RuleSet.CustomValidateRule event.
GenerateMessageTemplatesModelAttribute Applied to interfaces derived from IRuleBaseProperties. Specifies that message templates for string properties whose names start with “MessageTemplate” are generated automatically.
RuleBase Serves as the base class for Validation Rules.
RuleBaseAttribute Represents a base class for validation system attributes.
RuleBaseProperties Serves as the base class for classes which represent Validation Rules‘ properties exported to the Application Model.
RuleCombinationOfPropertiesIsUniqueAttribute Defines a validation rule that demands the target properties’ values combination be unique.
RuleCombinationOfPropertiesIsUniqueProperties Represent the RuleCombinationOfPropertiesIsUnique Validation Rules‘ properties exported to the Application Model.
RuleCriteriaAttribute Defines a validation rule that demands an object of the target type satisfy a specified criterion.
RuleCriteriaProperties Represent the RuleCriteria Validation Rules‘ properties exported to the Application Model.
RuleFromBoolPropertyAttribute Defines a validation rule that demands a true value for the target public non-persistent Boolean property.
RuleFromBoolPropertyProperties Represent the RuleFromBoolProperty Validation Rules‘ properties exported to the Application Model.
RuleIsReferencedAttribute Defines a validation rule demanding that an object should be referenced in objects of a specified type.
RuleIsReferencedProperties Represent the RuleIsReferenced Validation Rules‘ properties exported to the Application Model.
RuleObjectExistsAttribute Defines a validation rule that demands a particular type object that satisfies a specified criterion, exist in the database.
RuleObjectExistsProperties Represent the RuleObjectExists Validation Rules‘ properties exported to the Application Model.
RulePropertyValueProperties Serves as the base class for classes which represent property value checking Validation Rules‘ properties exported to the Application Model.
RuleRangeAttribute Defines a validation rule that demands the target property’s value be within the specified value range (including the range’s end points).
RuleRangeProperties Represent the RuleRange Validation Rules‘ properties exported to the Application Model.
RuleRegularExpressionAttribute Defines a validation rule that demands the target property match a specified pattern.
RuleRegularExpressionProperties Represent the RuleRegularExpression Validation Rules‘ properties exported to the Application Model.
RuleRequiredFieldAttribute Defines a validation rule that demands that a property has a value.
RuleRequiredFieldProperties Represent the RuleRequiredField Validation Rules‘ properties exported to the Application Model.
RuleSearchObjectProperties Serves as the base class for classes which represent object searching Validation Rules‘ properties exported to the Application Model.
RuleSet Specifies a set of Validation Rules that can be checked on an object.
RuleStringComparisonAttribute Defines a validation rule that demands the target string type property’s value satisfy a specified condition.
RuleStringComparisonProperties Represent the RuleStringComparison Validation Rules‘ properties exported to the Application Model.
RuleUniqueValueAttribute Defines a validation rule that demands the target property’s value be unique.
RuleUniqueValueProperties Represent the RuleUniqueValue Validation Rules‘ properties exported to the Application Model.
RuleValidatedEventArgs Arguments passed to the RuleSet.RuleValidated event.
RuleValidationResult Represents the results of checking an object via a Validation Rule.
RuleValueComparisonAttribute Defines a validation rule that demands the target property’s value satisfy a specified condition.
RuleValueComparisonProperties Represent the RuleValueComparison Validation Rules‘ properties exported to the Application Model.
ValidationCompletedEventArgs Arguments passed to the RuleSet.ValidationCompleted event.
ValidationException Occurs if the validation of a RuleSet is unsuccessful.
Validator static Provides access to the Validation Rules declared in an XAF application.

Interfaces

Name Description
IEmptyCheckable Declares the IEmptyCheckable.IsEmpty property to be implemented by classes to support validation via the RuleRequiredFieldAttribute.
IModelValidationDefaultErrorMessageTemplates The ErrorMessageTemplates node defines the default templates for the messages displayed when validation rules are broken.
IRule Declares members implemented by Validation Rules.
IRuleBaseProperties Declares members implemented by classes which represent Validation Rules‘ properties exported to the Application Model.
IRuleCollectionPropertyProperties Declares members implemented by classes which represent properties of Validation Rules that support collection validation, exported to the Application Model.
IRuleSource Declares members that custom Validation Rule Sources implement.
IRuleSupportsCollectionAggregatesProperties Declares members implemented by classes which represent properties of Validation Rules that support collection validation using aggregate funcitons, exported to the Application Model.

Structs

Name Description
ContextIdentifier Identifies a Validation Context.
ContextIdentifiers Identifies Validation Contexts.

Enums

Name Description
CriteriaEvaluationBehavior Contains values that specify how filter criteria are evaluated within a transaction.
DefaultContexts Contains values representing the default Validation Contexts.
ParametersMode Contains values specifying how criteria string parameters used in RuleRangeAttribute and RuleValueComparisonAttribute constructors are treated.
StringComparisonType Contains values which specify operator types to be used when comparing string values via the RuleStringComparisonAttribute.
ValidationOutcome Contains values that specify the result of checking an object via a Validation Rule.
ValidationResultType Contains values that specify the validation rule result type (error, warning or information).
ValidationState Contains values that specify the possible states of a Validation Rule.
ValueComparisonType Contains values which specify operator types to be used when comparing propery values via the RuleValueComparisonAttribute.