예제 #1
0
        internal List <NameValuePair> getAllBobsCount()
        {
            if (Kinds == null)
            {
                return(new List <NameValuePair>());
            }

            var toReturn = new List <NameValuePair>();

            foreach (var table in Kinds)
            {
                var res = new TableStore(table.Value).Count();
                toReturn.Add(new NameValuePair()
                {
                    Name = table.Value, Value = res.Result.ToString()
                });
            }
            return(toReturn);
        }