Click or drag to resize

MasterConstraintTMaster, TDetail Constructor

Namespace:  Aloe.SystemFrameworks.Domain.Validation
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public MasterConstraint(
	string ruleCode,
	Func<DataAttributeBase<TMaster>> getMasterAttribute,
	Func<ChildCollectionDefinition<TDetail>> getMasterChildCollection,
	Func<DataAttributeBase<TDetail>> getDetailAttribute,
	Func<ObjectReference<TMaster>> getDetailParentReference
)

Parameters

ruleCode
Type: SystemString
The rule code.
getMasterAttribute
Type: SystemFuncDataAttributeBaseTMaster
The master attribute.
getMasterChildCollection
Type: SystemFuncChildCollectionDefinitionTDetail
The master child collection.
getDetailAttribute
Type: SystemFuncDataAttributeBaseTDetail
The detail attribute.
getDetailParentReference
Type: SystemFuncObjectReferenceTMaster
The detail parent reference.
See Also