RuleValueComparisonProperties Members

Constructors

Name Description
RuleValueComparisonProperties()

Initializes a new instance of the RuleValueComparisonProperties class.

Properties

Name Description
MessageTemplateMustBeEqualToOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.Equals.

MessageTemplateMustBeGreaterThanOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.GreaterThan.

MessageTemplateMustBeGreaterThanOrEqualToOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.GreaterThanOrEqual.

MessageTemplateMustBeLessThanOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.LessThan.

MessageTemplateMustBeLessThanOrEqualToOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.LessThanOrEqual.

MessageTemplateMustNotBeEqualToOperand

Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleValueComparisonProperties.OperatorType is set to ValueComparisonType.NotEquals.

OperatorType

Specifies the operator type to be used for comparison.

RightOperand

Specifies the value to be compared with the target property's value.

RightOperandExpression

Specifies the expression whose value to be compared with the target property's value.

TargetCollectionAggregate

Specifies the aggregate function to be checked by the Validation Rule, if the rule is applied to a collection property.