Assembly: CodeEffects.Rule.Editor.dll Namespace: CodeEffects.Rule.Editor.Models
CodeEffects.Rule.Editor.Models
Provides the data model for authoring and validating complex business rules.
public class RuleModel
Desc Type: System.String
System.String
Gets or sets the description of the rule. This value is typically provided by the rule author in the Description text box of the Toolbar. This property is optional.
ID Type: System.String
Gets or sets the ID of the rule being handled. Code Effects automatically assigns unique identifiers to all new rules using string representations of System.Guid. These IDs are stored in the Rule XML. You should override this value only if your system uses its own rule identification scheme.
System.Guid
IsEvalType Type: System.Nullable<Boolean>
System.Nullable<Boolean>
Gets or sets a value indicating whether the rule being handled is of evaluation type. A value of false means that the rule is of execution type. This property is useful when different rule types are stored in separate locations. A value of null indicates that Code Effects cannot determine the rule type.
false
null
Name Type: System.String
Gets or sets the name of the rule. This value is typically provided by the rule author in the Name text box of the Toolbar. This property is required only if the Toolbar is visible.
SkipNameValidation Type: System.Boolean
System.Boolean
Gets or sets a value indicating whether Code Effects should skip validation of the rule name when the rule author saves or updates a rule. The default value is false.
p101