示例#1
0
 public void RemoveOrderByField(string field)
 {
     if (_orderByField != null)
     {
         if (_orderByField is CompoundField)
         {
             CompoundField obf = (CompoundField)_orderByField;
             obf.RemoveField(field);
         }
         else
         {
             _orderByField = null;
         }
     }
 }
示例#2
0
 public void RemoveGroupByField(string field)
 {
     if (_groupByField != null)
     {
         if (_groupByField is CompoundField)
         {
             CompoundField gbf = (CompoundField)_groupByField;
             gbf.RemoveField(field);
         }
         else
         {
             _groupByField = null;
         }
     }
 }