Click or drag to resize

IConstraint Interface

Namespace:  Aloe.SystemFrameworks.Domain.Validation
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public interface IConstraint : IBusinessRule

The IConstraint type exposes the following members.

Properties
  NameDescription
Public propertyCode
Gets the unique business rule code.
(Inherited from IBusinessRule.)
Public propertyDefaultExecutionPriority
Gets the default execution priority of the rule. It is used when priority is not specified when registering the rule for events.
(Inherited from IBusinessRule.)
Public propertyExecuteForDeletedObject
Gets a value indicating whether to execute the rule for deleted object.
(Inherited from IBusinessRule.)
Public propertyLocalizedName
Gets the localized name of the business rule.
(Inherited from IBusinessRule.)
Public propertyName
Gets the rule name.
(Inherited from IBusinessRule.)
Top
Methods
  NameDescription
Public methodActivate
Activates the constraint.
Public methodExecute
Executes the business rule on the specified object.
(Inherited from IBusinessRule.)
Public methodOnRegistration
Called upon registration of the business rule in a repository.
(Inherited from IBusinessRule.)
Top
See Also