Click or drag to resize
FrameworkValidatorBaseReportSubElementNameConflictsAsCorrectableMessages Method
Reports sub element name conflicts with the name of the element containing the subelement (field, navigator) as correctable messages.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Extensibility
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected virtual bool ReportSubElementNameConflictsAsCorrectableMessages(
	Project toValidate,
	bool error
)

Parameters

toValidate
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
To validate.
error
Type: SystemBoolean
if set to true a conflict is reported as an error, otherwise as a warning.

Return Value

Type: Boolean
true if no error was dispatched, false otherwise
Remarks
Conflicts verified: - navigators in entities, fields in entities, fields in valuetypes. The conflict check is necessary if the output for the framework has class names which are equal to the entity names, as that will lead to properties having the same name as the embedding type
See Also