Beispiel #1
0
        private void addQueryRule(String field, String operation, Object value)
        {
            Dictionary <string, object> element = (Dictionary <String, Object>)queryInfo.GetValueOrDefault(field);

            if (queryInfo.ContainsKey(field))
            {
                element.Add(operation, value);
            }
            else
            {
                queryInfo.Add(field, getRecord(value, operation));
            }
        }