CheckConstraintTObject Properties |
The CheckConstraintTObject generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Attribute |
The data attribute for which the constraint is defined or null if the constraint is not for specific attribute.
(Inherited from ConstraintTObject.) |
![]() | CheckExpression |
The check expression, used to validate the object. Should return true when the object is valid, false otherwise.
|
![]() | Code |
Gets the unique rule code.
(Inherited from BusinessRule.) |
![]() | DefaultExecutionPriority |
Gets the default execution priority of the rule.
It is used when priority is not specified when registering the rule for events.
(Inherited from ConstraintTObject.) |
![]() | ExecuteForDeletedObject |
Gets a value indicating whether to execute the rule for deleted object. The default is false.
Inheritors can override it.
(Inherited from BusinessRule.) |
![]() | GetAttribute |
Gets the function that returns the attribute of the constraint.
The attribute is specified for constraints, which constrain a specific attribute.
(Inherited from ConstraintTObject.) |
![]() | GetMessage |
Gets the message getter function.
The function is called to create and format a message in case of constraint violation.
(Inherited from ValidationConstraintTObject.) |
![]() | IsActivated |
Gets a value indicating whether this constraint has already been activated.
(Inherited from ConstraintTObject.) |
![]() | LocalizedName |
Gets the localized name of the rule.
(Inherited from BusinessRule.) |
![]() | Name |
Gets the constraint name.
(Overrides BusinessRuleName.) |