Example #1
0
 /// <summary>
 /// Добавить фильтр
 /// </summary>
 /// <param name="where"> Фильтр </param>
 public void AddWhere(FilterUnitBase where)
 {
     if (_WhereList == null)
     {
         _WhereList = new List <FilterUnitBase>();
     }
     _WhereList.Add(where);
 }
Example #2
0
 public override string ToString()
 {
     return(string.Format("{0} {1}", FilterUnitBase.colName(_table, _column), _ordertype));
 }
Example #3
0
 public void RemoveWhere(FilterUnitBase flt)
 {
     _WhereList.Remove(flt);
 }
Example #4
0
 public FilterNOT(FilterUnitBase flt)
 {
     _filter = flt;
 }