UniqueConstraintNameValidatorValidate Method |
Validates the name specified
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel.ValidationAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public override bool Validate(
string nameToValidate,
bool checkForDuplicates,
out string clsCompliantVersion
)
Public Overrides Function Validate (
nameToValidate As String,
checkForDuplicates As Boolean,
<OutAttribute> ByRef clsCompliantVersion As String
) As Boolean
Parameters
- nameToValidate
- Type: SystemString
The name to validate. - checkForDuplicates
- Type: SystemBoolean
Flag to signal if duplicate checking should be performed (true) or not (false) - clsCompliantVersion
- Type: SystemString
The CLS compliant version.
Return Value
Type:
Boolean
true if the name is valid, false otherwise
Implements
IValidatorTValueValidate(TValue, Boolean, TValue)See Also