public override void Check(string value) { if (database.Contains(value)) { throw new ValidationErrorExeption("with specified name already exists."); } }