Click or drag to resize

FrameworkValidatorBase.ReportEntitiesWithoutIdentifyingFieldsAsCorrectableMessage Method (Project, Boolean, HashSet<ActionCombinationType>)

Reports the entities without identifying fields as correctable message (either error or warning). If a mapping is present which has an action combination which isn't present in combinationsRequiringPk and its target is a table, it will report the issue as a correctable message.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Extensibility
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected virtual bool ReportEntitiesWithoutIdentifyingFieldsAsCorrectableMessage(
	Project toValidate,
	bool error,
	HashSet<ActionCombinationType> combinationsToAllow
)

Parameters

toValidate
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.Project
To validate.
error
Type: System.Boolean
if set to true a valuetype usage is reported as an error message, otherwise as a warning
combinationsToAllow
Type: System.Collections.Generic.HashSet<ActionCombinationType>
The action combinations which don't require a pk present.

Return Value

Type: Boolean
true if no errors were enountered, false otherwise
See Also