示例#1
0
 public static FilterBuilder GetBuilder(Query query, SqlParameterCollection parameterlist)
 {
     FilterBuilder fb = new FilterBuilder();
     fb.query = query;
     fb.parameterList = parameterlist;
     return fb;
 }
示例#2
0
 public void SetListSumField(string[] fieldList, Query query)
 {
     foreach (string fieldName in fieldList)
     {
         Field field = query.GetFieldByFullName(fieldName);
         if (field != null && !String.IsNullOrEmpty(field.SumFormula))
         {
             ListSumField.Add(new SumField(field.FieldName, field.SumFormula));
         }
     }
 }