BusinessRule Class |
Namespace: Aloe.SystemFrameworks.Domain.BusinessLogic
The BusinessRule type exposes the following members.
Name | Description | |
---|---|---|
![]() | BusinessRule |
Initializes a new instance of the BusinessRule class.
|
Name | Description | |
---|---|---|
![]() | Code |
Gets the unique rule code.
|
![]() | DefaultExecutionPriority |
Gets the default execution priority of the rule.
It is used when priority is not specified when registering the rule for events.
|
![]() | ExecuteForDeletedObject |
Gets a value indicating whether to execute the rule for deleted object. The default is false.
Inheritors can override it.
|
![]() | LocalizedName |
Gets the localized name of the rule.
|
![]() | Name |
Gets the rule name.
|
Name | Description | |
---|---|---|
![]() | Execute |
Executes the business rule on the specified object.
|
![]() | ExecuteCore |
Executes the actual business rule on the specified object.
|
![]() | OnRegistration |
Called upon registration of the business rule in a repository.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Business rules are the main carriers of business logic. The business rules execute when triggered by business events.
One business rule can be registered for multiple business events.