Validation rules are enforced during development of the MBO and, in some cases, when you deploy the MBO to Unwired Server. Error or warning messages are generated when validation rules are violated.
Validation rule name | Severity and message |
---|---|
ValidationRuleAttributeColumnMaxLength | Attribute '{0}' has a maximum data length, {1}, that is less than the backend maximum data length, {2}. |
ValidationRuleAttributeColumnNameExist | Attribute '{0}' must be mapped to a column. |
ValidationRuleAttributeTypeIsColumnType | Attribute '{0}' must have the suitable type as the column it is mapped to. If the column type is 'Datetime', the attribute type must be 'Datetime', if the column type is 'String', the attribute type can be any type. If the column type is not 'String' and 'Datetime', the attribute type can be 'String' or the column type. |
ValidationAttributeDataLengthPositiveInteger | Attribute '{0}''s data length '{1}' is not a positive integer. It must be greater than zero. |
ValidationAttributeMaxLengthPositiveNonZeroInteger | Attribute '{0}''s length, {1}, is too small. It must be greater than zero. |
ValidationAttributeMaxLengthPositiveNonZeroInteger2 | Attribute '{0}''s length, {1}, is too large. It must be smaller than 8192. |
ValidationAttributeMaxLengthPositiveNonZeroInteger3 | Attribute '{0}''s length, {1}, is too large. It must be less than or equal to 65536. |
ValidationAttributePrecisionPositiveNonZeroInteger | Attribute '{0}''s precision, {1}, is too small. It must be greater than zero. |
ValidationAttributePrecisionPositiveNonZeroInteger2 | Attribute '{0}''s precision, {1}, is too large. It must be less than or equal to 127. |
ValidationAttributeScalePositiveNonZeroInteger | Attribute '{0}''s scale, {1}, is too small. It must be greater than zero. |
ValidationAttributeScalePositiveNonZeroInteger2 | Attribute '{0}''s scale, {1}, is too large. It must be less than or equal to the precision, {2}. |
ValidateAttributeDefaultValueOfFakeParameter | Refer to "Basic Type Validation Rules and Error Messages." |
ValidateRuleDefaultValueOnAttributeTypeChange | Refer to "Basic Type Validation Rules and Error Messages." |
ValidationDuplicatedParametersOfFilterByAttribute | Attribute '{0}' cannot have the same name as parameter(s), when its 'Filter By' property is set to true. |
ValidationRuleOfAttributeAboutFilterByOfMappedAttributeMustBeTrue | Attribute '{0} is a target role in one relationship, it must be marked as FilterBy. |