FrameworkValidatorBaseReportEntitiesWithoutIdentifyingFieldsAsCorrectableMessage Method (Project, Boolean, HashSetActionCombinationType) |
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.1.0.0 (5.1.0)
Syntax protected virtual bool ReportEntitiesWithoutIdentifyingFieldsAsCorrectableMessage(
Project toValidate,
bool error,
HashSet<ActionCombinationType> combinationsToAllow
)
Protected Overridable Function ReportEntitiesWithoutIdentifyingFieldsAsCorrectableMessage (
toValidate As Project,
error As Boolean,
combinationsToAllow As HashSet(Of ActionCombinationType)
) As Boolean
Parameters
- toValidate
- Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
To validate. - error
- Type: SystemBoolean
if set to a valuetype usage is reported as an error message, otherwise as a warning - combinationsToAllow
- Type: System.Collections.GenericHashSetActionCombinationType
The action combinations which don't require a pk present.
Return Value
Type:
Boolean
true if no errors were enountered, false otherwise
See Also