public T GetSqlSchema <T>(
            DatabaseSchemaInfoTypeWindows schemaInfoType,
            string filters,
            out string rawOutput,
            out HttpStatusCode statusCode,
            out string statusDescription,
            bool wrapWebException)
        {
            string queryString =
                string.IsNullOrEmpty(filters) ?
                string.Format("sqlschema/{0}", schemaInfoType.ToString()) :
                string.Format("sqlschema/{0}/{1}", schemaInfoType.ToString(), filters);

            return(_webServiceClient.CallService <T>(
                       queryString,
                       null,
                       HttpVerb.GET,
                       out rawOutput,
                       false,
                       true,
                       _timeout,
                       out statusCode,
                       out statusDescription,
                       wrapWebException,
                       null));
        }
        /// <summary>
        /// Gets all the entities of a REST web service according to this patern: baseURL/{entityName}
        /// e.g. http://hostname:1983/User to get all users.
        /// </summary>
        /// <typeparam name="E">The name of the entities to get e.g. User</typeparam>
        /// <returns>A list of the specified entities i.e. a list of users.</returns>
        public List <E> GetAllEntities <E>()
        {
            string         rawOut = null;
            HttpStatusCode httpStatusCode;
            string         httpStatusDescription = null;
            List <E>       result = _webServiceClient.CallService <List <E> >(
                typeof(E).Name,
                null,
                HttpVerb.GET,
                out rawOut,
                false,
                true,
                _timeout,
                out httpStatusCode,
                out httpStatusDescription,
                true,
                null);

            return(result);
        }