Skip to main content
.NET 8.0+

RuleObjectExistsAttribute Constructors

Defines a validation rule that demands a particular type object that satisfies a specified criterion, exist in the database.
Name Parameters Description
RuleObjectExistsAttribute(DefaultContexts, String) targetContexts, criteria Initializes a new instance of the RuleObjectExistsAttribute class.
RuleObjectExistsAttribute(String, DefaultContexts, String, String) id, targetContexts, criteria, messageTemplate Initializes a new instance of the RuleObjectExistsAttribute class.
RuleObjectExistsAttribute(String, DefaultContexts, String) id, targetContexts, criteria Initializes a new instance of the RuleObjectExistsAttribute class.
RuleObjectExistsAttribute(String, String, String, String) id, targetContextIDs, criteria, messageTemplate Initializes a new instance of the RuleObjectExistsAttribute class.
RuleObjectExistsAttribute(String, String, String) id, targetContextIDs, criteria Initializes a new instance of the RuleObjectExistsAttribute class.
RuleObjectExistsAttribute(String) criteria Initializes a new instance of the RuleObjectExistsAttribute class.
See Also