ConstraintTObject Class |
Namespace: Aloe.SystemFrameworks.Domain.Validation
The ConstraintTObject type exposes the following members.
| Name | Description | |
|---|---|---|
| ConstraintTObject |
Initializes a new instance of the ValidationConstraintTObject class.
|
| Name | Description | |
|---|---|---|
| Attribute |
The data attribute for which the constraint is defined or null if the constraint is not for specific attribute.
| |
| 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.
(Overrides BusinessRuleDefaultExecutionPriority.) | |
| 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.
| |
| IsActivated |
Gets a value indicating whether this constraint has already been activated.
| |
| LocalizedName |
Gets the localized name of the rule.
(Inherited from BusinessRule.) | |
| Name |
Gets the rule name.
(Inherited from BusinessRule.) |
| Name | Description | |
|---|---|---|
| Activate |
Activates the constraint.
| |
| Execute |
Executes the business rule on the specified object.
(Inherited from BusinessRule.) | |
| ExecuteCore |
Executes the actual business rule on the specified object.
(Inherited from BusinessRule.) | |
| OnRegistration |
Called upon registration of the business rule in a repository.
(Inherited from BusinessRule.) | |
| ToString |
Returns a String that represents this instance.
(Inherited from BusinessRule.) |