Skip to main content
.NET Framework 4.5.2+

RuleIsReferencedProperties Members

Represent the RuleIsReferenced Validation Rules‘ properties exported to the Application Model.

Constructors

Name Description
RuleIsReferencedProperties() Initializes a new instance of the RuleIsReferencedProperties class.

Properties

Name Description
CriteriaEvaluationBehavior Specifies whether to look for objects that are currently retrieved from the database, in addition to the objects in the database itself. Inherited from RuleSearchObjectProperties.
CustomMessageTemplate Specifies custom informational text displayed in a validation error message for a broken Validation Rule instead of the default message templates specified in the MessageTemplate… properties. Inherited from RuleBaseProperties.
FoundObjectMessageFormat Specifies the format for the list of found objects. Inherited from RuleSearchObjectProperties.
FoundObjectMessagesSeparator Specifies the character used to separate objects in the list of found objects (see RuleSearchObjectProperties.FoundObjectMessageFormat). Inherited from RuleSearchObjectProperties.
Id Specifies the Validation Rule identifier. Inherited from RuleBaseProperties.
IncludeCurrentObject Specifies whether to check the current business object by the Validation Rule. Inherited from RuleSearchObjectProperties.
InvertResult Specifies whether the Validation Rule is applied directly. Inherited from RuleBaseProperties.
LooksFor Specifies the type of the objects which are checked as to whether they have a reference to the object of the type specified by the RuleBaseProperties.TargetType property.
MessageTemplateCollectionValidationMessageSuffix Specifies the additional text that will be displayed in the Validation Error window when the Validation Rule applied to a collection property is broken. Inherited from RuleBaseProperties.
MessageTemplateFoundObjects Specifies the text that is displayed before the list of found objects (see RuleSearchObjectProperties.FoundObjectMessageFormat). Inherited from RuleSearchObjectProperties.
MessageTemplateMustBeReferenced Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken.
MessageTemplateSkipNullOrEmptyValues Specifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified. Inherited from RuleBaseProperties.
MessageTemplateTargetDoesNotSatisfyCollectionCriteria Specifies the template for the message displayed when the Validation Rule was not checked because the validated object is not an element of the target collection. Inherited from RuleBaseProperties.
MessageTemplateTargetDoesNotSatisfyTargetCriteria Specifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the RuleBaseProperties.TargetCriteria property is not satisfied by the validated object. Inherited from RuleBaseProperties.
Name Specifies the name of the Validation Rule. Inherited from RuleBaseProperties.
ReferencePropertyName Specifies the property which is checked as to whether it contains a reference to an object of the type specified by the RuleBaseProperties.TargetType property. The specified property must belong to the class specified by the RuleIsReferencedProperties.LooksFor property.
ResultType Specifies the application behavior when the rule is broken. Inherited from RuleBaseProperties.
SkipNullOrEmptyValues Specifies whether the Validation Rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type properties) or a minimal date (for DateTime type properties). Inherited from RuleBaseProperties.
TargetCollectionOwnerType Specifies the type in which the collection property is declared, if the Validation Rule is applied to a collection property. Inherited from RuleBaseProperties.
TargetCollectionPropertyName Specifies the collection property for which the current Validation Rule will be checked. Inherited from RuleBaseProperties.
TargetContextIDs Specifies the Contexts for checking the current Validation Rule. Inherited from RuleBaseProperties.
TargetCriteria Specifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule. Inherited from RuleBaseProperties.
TargetType Specifies the type of the object for which the Validation Rule will be checked. Inherited from RuleBaseProperties.

Methods

Name Description
Clone() Creates a shallow copy of the current Validation Rule Properties. Inherited from RuleBaseProperties.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also