Back to Devexpress

RuleCombinationOfPropertiesIsUniqueProperties Class

expressappframework-devexpress-dot-persistent-dot-validation-54bb1dae.md

latest3.3 KB
Original Source

RuleCombinationOfPropertiesIsUniqueProperties Class

Represent the RuleCombinationOfPropertiesIsUnique Validation Rules‘ properties exported to the Application Model.

Namespace : DevExpress.Persistent.Validation

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

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
[DomainComponent]
[RulePropertiesIndexed]
public class RuleCombinationOfPropertiesIsUniqueProperties :
    RuleSearchObjectProperties,
    IRuleCombinationOfPropertiesIsUniqueProperties,
    IRuleSearchObjectProperties,
    IRuleCollectionPropertyProperties,
    IRuleBaseProperties
vb
<DomainComponent>
<RulePropertiesIndexed>
Public Class RuleCombinationOfPropertiesIsUniqueProperties
    Inherits RuleSearchObjectProperties
    Implements IRuleCombinationOfPropertiesIsUniqueProperties,
               IRuleSearchObjectProperties,
               IRuleCollectionPropertyProperties,
               IRuleBaseProperties

Remarks

Information on the Validation Rules declared in the application is saved to the Application Model‘s IModelValidationRules. Each rule has a corresponding node. These nodes expose properties specifying values for the rules’ properties.

The properties that must be exposed to the Application Model are specified via a rule’s RuleBase.Properties property. This property returns a RuleBaseProperties descendant.

When implementing a custom Validation Rule, you may need to implement a cusom Properties class inherited from RuleBaseProperties. For details, refer to the Implement Custom Rules topic.

Implements

IRuleCollectionPropertyProperties

IRuleBaseProperties

Inheritance

Object RuleBaseProperties RuleSearchObjectProperties RuleCombinationOfPropertiesIsUniqueProperties

See Also

RuleCombinationOfPropertiesIsUniqueProperties Members

DevExpress.Persistent.Validation Namespace