public override ValidationResult Validate(object value, CultureInfo cultureInfo) { var identifier = (string)value; return(new ValidationResult(AllowEmpty && String.IsNullOrEmpty(identifier) || OracleSqlParser.IsValidIdentifier(identifier), "Identifier contains characters that are not allowed, starts with a number, has more than 30 characters or matches a reserved word. ")); }