RuleModel Class

Assembly: CodeEffects.Rule.Editor.dll
Namespace: CodeEffects.Rule.Editor.Models

Summary

Provides the data model for authoring and validating complex business rules.

Syntax

public class RuleModel

Properties

  • Desc
    Type: 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.

  • IsEvalType
    Type: 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.

  • 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

    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

l097 --

l102

p101

×