Click or drag to resize

ProjectValidateNewEntityModelElementName 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.10.0.0 (5.10.0)
Syntax
public bool ValidateNewEntityModelElementName(
	string newName,
	string groupName,
	bool nameOnly,
	out string errorText,
	out string correctName
)

Parameters

newName
Type: SystemString
The new name.
groupName
Type: SystemString
Name of the group.
nameOnly
Type: SystemBoolean
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: SystemString
The error text.
correctName
Type: SystemString
Corrected value for name rules, this is the correct name for 'newName'.

Return Value

Type: Boolean
true if valid, false otherwise
See Also