Back to Devexpress

DevExpress.Persistent.Validation Namespace

expressappframework-devexpress-dot-persistent-5f88091a.md

latest16.9 KB
Original Source

DevExpress.Persistent.Validation Namespace

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

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

NuGet Package : DevExpress.Persistent.Base

Classes

NameDescription
CodeRuleAttributeApplied to a validation rule. Specifies that the rule is intended for a particular business class and does not have a corresponding validation attribute.
CustomIsEmptyValueEventArgsArguments passed to the RuleSet.CustomIsEmptyValue event.
CustomNeedToValidateRuleEventArgsArguments passed to the RuleSet.CustomNeedToValidateRule event.
CustomValidateRuleEventArgsArguments passed to the RuleSet.CustomValidateRule event.
GenerateMessageTemplatesModelAttributeApplied to interfaces derived from IRuleBaseProperties. Specifies that message templates for string properties whose names start with “MessageTemplate” are generated automatically.
RuleBaseServes as the base class for Validation Rules.
RuleBaseAttributeRepresents a base class for validation system attributes.
RuleBasePropertiesServes as the base class for classes which represent Validation Rules‘ properties exported to the Application Model.
RuleCombinationOfPropertiesIsUniqueAttributeDefines a validation rule that demands the target properties’ values combination be unique.
RuleCombinationOfPropertiesIsUniquePropertiesRepresent the RuleCombinationOfPropertiesIsUnique Validation Rules‘ properties exported to the Application Model.
RuleCriteriaAttributeDefines a validation rule that demands an object of the target type satisfy a specified criterion.
RuleCriteriaPropertiesRepresent the RuleCriteria Validation Rules‘ properties exported to the Application Model.
RuleFromBoolPropertyAttributeDefines a validation rule that demands a true value for the target public non-persistent Boolean property.
RuleFromBoolPropertyPropertiesRepresent the RuleFromBoolProperty Validation Rules‘ properties exported to the Application Model.
RuleIsReferencedAttributeDefines a validation rule demanding that an object should be referenced in objects of a specified type.
RuleIsReferencedPropertiesRepresent the RuleIsReferenced Validation Rules‘ properties exported to the Application Model.
RuleObjectExistsAttributeDefines a validation rule that demands a particular type object that satisfies a specified criterion, exist in the database.
RuleObjectExistsPropertiesRepresent the RuleObjectExists Validation Rules‘ properties exported to the Application Model.
RulePropertyValuePropertiesServes as the base class for classes which represent property value checking Validation Rules‘ properties exported to the Application Model.
RuleRangeAttributeDefines a validation rule that demands the target property’s value be within the specified value range (including the range’s end points).
RuleRangePropertiesRepresent the RuleRange Validation Rules‘ properties exported to the Application Model.
RuleRegularExpressionAttributeDefines a validation rule that demands the target property match a specified pattern.
RuleRegularExpressionPropertiesRepresent the RuleRegularExpression Validation Rules‘ properties exported to the Application Model.
RuleRequiredFieldAttributeDefines a validation rule that demands that a property has a value.
RuleRequiredFieldPropertiesRepresent the RuleRequiredField Validation Rules‘ properties exported to the Application Model.
RuleSearchObjectPropertiesServes as the base class for classes which represent object searching Validation Rules‘ properties exported to the Application Model.
RuleSetSpecifies a set of Validation Rules that can be checked against an object.
RuleStringComparisonAttributeDefines a validation rule that demands the target string type property’s value satisfy a specified condition.
RuleStringComparisonPropertiesRepresent the RuleStringComparison Validation Rules‘ properties exported to the Application Model.
RuleUniqueValueAttributeDefines a validation rule that demands the target property’s value be unique.
RuleUniqueValuePropertiesRepresent the RuleUniqueValue Validation Rules‘ properties exported to the Application Model.
RuleValidatedEventArgsArguments passed to the RuleSet.RuleValidated event.
RuleValidationResultRepresents the results of checking an object via a Validation Rule.
RuleValueComparisonAttributeDefines a validation rule that demands the target property’s value satisfy a specified condition.
RuleValueComparisonPropertiesRepresent the RuleValueComparison Validation Rules‘ properties exported to the Application Model.
ValidationCompletedEventArgsArguments passed to the RuleSet.ValidationCompleted event.
ValidationExceptionOccurs if the validation of an IRuleSet is unsuccessful.
Validator staticProvides access to the Validation Rules declared in an XAF application.

Interfaces

NameDescription
IEmptyCheckableDeclares the IEmptyCheckable.IsEmpty property to be implemented by classes to support validation via the RuleRequiredFieldAttribute.
IModelValidationDefaultErrorMessageTemplatesThe ErrorMessageTemplates node defines the default templates for the messages displayed when validation rules are broken.
IRuleDeclares members implemented by Validation Rules.
IRuleBasePropertiesDeclares members implemented by classes which represent Validation Rules‘ properties exported to the Application Model.
IRuleCollectionPropertyPropertiesDeclares members implemented by classes which represent properties of Validation Rules that support collection validation, exported to the Application Model.
IRuleSetSpecifies a set of Validation Rules that can be checked against an object.
IRuleSourceDeclares members that custom Validation Rule Sources implement.
IRuleSupportsCollectionAggregatesPropertiesDeclares members implemented by classes which represent properties of Validation Rules that support collection validation using aggregate funcitons, exported to the Application Model.
IValidatorA service that exposes API required to access the Validation Rules declared in an XAF application.

Structs

NameDescription
ContextIdentifierIdentifies a Validation Context.
ContextIdentifiersIdentifies Validation Contexts.

Enums

NameDescription
CriteriaEvaluationBehaviorContains values that specify how filter criteria are evaluated within a transaction.
DefaultContextsContains values representing the default Validation Contexts.
ParametersModeContains values specifying how criteria string parameters used in RuleRangeAttribute and RuleValueComparisonAttribute constructors are treated.
StringComparisonTypeContains values which specify operator types to be used when comparing string values via the RuleStringComparisonAttribute.
ValidationOutcomeContains values that specify the result of checking an object via a Validation Rule.
ValidationResultTypeContains values that specify the validation rule result type (error, warning or information).
ValidationStateContains values that specify the possible states of a Validation Rule.
ValueComparisonTypeContains values which specify operator types to be used when comparing propery values via the RuleValueComparisonAttribute.