public bool Validate() {
     try {
         IOAdSession session = new SessionClass();
         session.UserLogon(entity.UserName, entity.Password, entity.DataBase, SessionTypePrivate, entity.ConnectionName);
         session.SignOff();
         return true;
     } catch(Exception) {
         return false;
     }
 }