OnlyOneExistsRule constructor
Creates a new validation rule and sets its values
properties
a list of property names where at only one property must exist
Creates a new validation rule and sets its values
properties
a list of property names where at only one property must exist