Example #1
0
 // <summary>
 /// 添加一个筛选条件
 /// </summary>
 public void AddCondition(Conditionner condition, ConditionType AndOr) {
     if (gszConditionner != "") {
         gszConditionner += " " + (AndOr == ConditionType.And ? "and" : "or");
         gszConditionner += " (" + condition.ToString() + ")";
     } else {
         gszConditionner = "(" + condition.ToString() + ")";
     }
 }
Example #2
0
 // <summary>
 /// 添加一个筛选条件
 /// </summary>
 public void AddCondition(Conditionner condition) {
     AddCondition(condition, ConditionType.And);
 }