Click or drag to resize

FrameworkValidatorBase.ReportDiscriminatorFieldsInPkAsCorrectableMessage Method

Reports each discriminator fields which is part of the identifying fields of an entity as correctable message (either as error or warning)

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Extensibility
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
protected virtual bool ReportDiscriminatorFieldsInPkAsCorrectableMessage(
	Project toValidate,
	bool error
)

Parameters

toValidate
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.Project
To validate.
error
Type: System.Boolean
if set to true a mixture of inheritance hierarchy types per hierarchy is reported as an error message, otherwise as a warning

Return Value

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