Click or drag to resize
Project.ValidateNewEntityModelElementName Method (String, String, Boolean, String, String)
Validates whether the name specified is a valid name for a new element in the entity model.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public bool ValidateNewEntityModelElementName(
	string newName,
	string groupName,
	bool nameOnly,
	out string errorText,
	out string correctName
)

Parameters

newName
Type: System.String
The new name.
groupName
Type: System.String
Name of the group.
nameOnly
Type: System.Boolean
if set to true, only the name is validated, group is ignored. If false, the group is validated and the name is verified in the group as well.
errorText
Type: System.String
The error text.
correctName
Type: System.String
Corrected value for name rules, this is the correct name for 'newName'.

Return Value

Type: Boolean
true if valid, false otherwise
See Also