private decimal[] GetParsedFilterInListValueToDecimal(FilterInListProtocol filter, string tableName)
        {
            decimal[] decs = new decimal[filter.Values.Length];
            try
            {
                int i = 0;
                foreach(string val in filter.Values)
                {
                    decs[i] = decimal.Parse(val);
                    i++;
                }

                return decs;
            }
            catch(Exception ex)
            {
                throw new ApplicationException(
                    string.Format("Could not parse values '{0}' as a decimal[] for field '{1}' on object '{2}'.",
                    string.Join(",", filter.Values),
                    filter.Field, tableName), ex );
            }
        }
        private int[] GetParsedFilterInListValueToInetger(FilterInListProtocol filter, string tableName)
        {
            int[] ints = new int[filter.Values.Length];

            try
            {
                int i = 0;
                foreach(string val in filter.Values)
                {
                    ints[i] = int.Parse(val);
                    i++;
                }

                return ints;
            }
            catch(Exception ex)
            {
                throw new ApplicationException(
                    string.Format("Could not parse values '{0}' as a int[] for field '{1}' on object '{2}'.",
                    string.Join(",", filter.Values),
                    filter.Field, tableName), ex );
            }
        }