DetailCheckConstraintTMaster, TDetail Class | 
Namespace: Aloe.SystemFrameworks.Domain.Validation
public class DetailCheckConstraint<TMaster, TDetail> : Constraint<TMaster> where TMaster : EditableDomainObject where TDetail : EditableDomainObject
The DetailCheckConstraintTMaster, TDetail type exposes the following members.
| Name | Description | |
|---|---|---|
| DetailCheckConstraintTMaster, TDetail(String, String, FuncTMaster, IEnumerableTDetail, FuncTDetail, Boolean, FuncTDetail, String, ActionTMaster, FuncIDataAttribute) | 
            Initializes a new instance of the DetailCheckConstraintTMaster, TDetail class.
              | |
| DetailCheckConstraintTMaster, TDetail(String, String, FuncTMaster, IEnumerableTDetail, FuncTDetail, BusinessEvent, Boolean, FuncTDetail, String, ActionTMaster, FuncIDataAttribute) | 
            Initializes a new instance of the DetailCheckConstraintTMaster, TDetail class.
              | 
| 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.) | |
| 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.) | |
| DetailCheck | 
            Gets the detail check function.
            The detail check function is called to check for validity each detail object
            and should return  if the data is valid.
              | |
| 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.) | |
| GetDetails | 
            Gets the get details function, which returns the detail objects for the specified master object.
              | |
| GetMessage | 
            Gets the message getter function.
            The function is called to create and format a message in case of constraint violation.
              | |
| IsActivated | 
            Gets a value indicating whether this constraint has already been activated.
              (Inherited from ConstraintTObject.) | |
| LocalizedName | 
            Gets the localized name of the constraint.
              (Overrides BusinessRuleLocalizedName.) | |
| Name | 
            Gets the constraint name.
              (Overrides BusinessRuleName.) | |
| PreOpt | 
            Gets the pre opt function, which is used for pre-optimization.
            This is code, which is called before the line checks are performed.
              | 
| Name | Description | |
|---|---|---|
| Activate | 
            Activates the constraint.
              (Inherited from ConstraintTObject.) | |
| Execute | 
            Executes the business rule on the specified object.
              (Inherited from BusinessRule.) | |
| ExecuteCore | 
            Executes the business rule on the specified object.
              (Overrides BusinessRuleExecuteCore(DomainObject, BusinessEvent).) | |
| 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.) |