Пример #1
0
 private string GetQueryCondition()
 {
     if (Request.Form.Count > 0)
     {
         string where = Request.Form["where"];
         if (!string.IsNullOrEmpty(where))
         {
             RuleModel rule = JsonConvert.DeserializeObject <RuleModel>(where);
             if (rule != null)
             {
                 return(rule.GetCondition());
             }
         }
     }
     return("");
 }