public virtual string LoadString(string command)
        {
            DirectLoadResult table = this.Load(command);

            if (!table.HasResult)
            {
                return(string.Empty);
            }
            return(table.Rows[0][0].ToString());
        }
        public virtual async Task <string> LoadStringAsync(string command)
        {
            DirectLoadResult table = await this.LoadAsync(command);

            if (!table.HasResult)
            {
                return(string.Empty);
            }
            return(table.Rows[0][0].ToString());
        }
        public virtual async Task <List <string> > LoadArrayStringAsync(string command)
        {
            List <string>    result = new List <string>();
            DirectLoadResult table  = await this.LoadAsync(command);

            if (!table.HasResult)
            {
                return(result);
            }

            foreach (DataRow row in table.Rows)
            {
                result.Add(row[0].ToString());
            }

            return(result);
        }
        public virtual List <int> LoadArrayInt(string command)
        {
            List <int>       result = new List <int>();
            DirectLoadResult table  = this.Load(command);

            if (!table.HasResult)
            {
                return(result);
            }

            foreach (DataRow row in table.Rows)
            {
                int p;
                if (Int32.TryParse(row[0].ToString(), out p))
                {
                    result.Add(p);
                }
            }

            return(result);
        }