The RuleValueComparison attribute demands that a particular IComparable property satisfies a specific expression. Here, this rule is illustrated using the following six operators:
> (the GreaterThanZero and Collection properties);
= (the Equals100 and Collection properties);
>= (the NotLessThanOne property);
!= (the NotEquals1000 property);
< (the BeforeFebruary2008 property);
<= (the NotMoreThan10 property).
The BeforeToday property demonstrates use of the built-in XPO LocalDateTimeToday function as an operand value.
To check this rule, save the current object.