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