Click or drag to resize
ModelViewNameValidatorValidateName Method
Validates the name specified

Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel.Validation
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
protected bool ValidateName(
	string nameToValidate,
	bool removeUnderscoresIfRequired,
	out string clsCompliantVersion
)

Parameters

nameToValidate
Type: SystemString
The name to validate.
removeUnderscoresIfRequired
Type: SystemBoolean
if true, it will remove underscores during CLS name testing, if the project property RemoveUnderscoresFromElementName is set to true. If false, underscores are left as-is
clsCompliantVersion
Type: SystemString
The CLS compliant version.

Return Value

Type: Boolean
true if the name is valid, false otherwise
See Also