RuleObjectExistsAttribute Properties
Defines a validation rule that demands a particular type object that satisfies a specified criterion, exist in the database.
Name | Description |
---|---|
Criteria |
Specifies whether to look for objects that are currently retrieved from the database, in addition to the objects in the database itself. |
Custom |
Specifies informational text that is to be added to the exception message when the current Validation Rule is broken.
Inherited from Rule |
Found |
Gets or sets the format for specifying information on found objects in the validation error message. |
Found |
Specifies a separator for the object list written in the error message for the current rule. |
Include |
Specifies whether to check the current business object by this rule. |
Invert |
Specifies whether the current rule should be inverted, to be checked.
Inherited from Rule |
Looks |
Specifies the type of objects to be looked for. |
Message |
|
Message |
Specifies the text to be written in the Validation Error window when the current rule is broken. |
Name |
Specifies a name of the rule created using the current attribute.
Inherited from Rule |
Result |
Specifies the application behavior when the rule is broken.
Inherited from Rule |
Skip |
Specifies whether the current rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type propeties) or a minimal date (for Date |
Target |
Specifies a context for checking the current Rule.
Inherited from Rule |
Target |
Specifies a criterion that must be satisfied by the validated object or property to check rules.
Inherited from Rule |
Type |
When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute. |
See Also