Ejemplo n.º 1
0
        /// <summary>
        /// </summary>
        /// <param name="db"></param>
        /// <param name="debug"></param>
        /// <returns></returns>
        private static string getLibrary()
        {
            #region Codice Commentato

            /*logger.Debug("getLibrary");
             * string queryString =
             *      "SELECT LIBRARY_NAME FROM REMOTE_LIBRARIES";
             * logger.Debug (queryString);
             * string library = null;
             * try
             * {
             *      library = db.executeScalar(queryString).ToString();
             * }
             * catch (Exception e) {
             *      logger.Debug(e.Message);
             *      throw new DocsPaWSException("F_WrongLogin");
             * }*/
            #endregion

            string library = null;
            DocsPaDB.Query_DocsPAWS.Utenti utenti = new DocsPaDB.Query_DocsPAWS.Utenti();
            utenti.GetLibrary(out library);
            return(library);
        }