Rule Sets


Rules are grouped into Rule Sets. A Rule Set contains rules and can also contain other Rule Sets as sub-sets.

Rule Sets also contain the data being validated during evaluation. All the rules in a Rule Set share the data in the Rule Set. You can provide data to be validated to the rule set in a number of ways. See Using rules to validate data in your application for details.

A Rule Set has a dictionary EntityTypes which are the expected types of the data that the Rule Set will refer to when it is being Evaluated. When it is being Evaluated, the Rule Set will look in its Entities dictionary for data that matches the entry in the EntityTypes.

EntityTypes will be added to a rule set whenever you use that type in a DataValue. However, if you need to edit them directly, for example to add a reference to a second instance of a type (with a different name as its key), click on the rule set in the tree and go to the Entity Types tab page.