Exemple #1
0
        public string operatorConv(opCondition e)
        {
            switch (e)
            {
            case opCondition.eq:
                return("=");

            case opCondition.lte:
                return("<=");

            case opCondition.gte:
                return(">=");

            case opCondition.gt:
                return(">");

            case opCondition.lt:
                return("<");

            case opCondition.ne:
                return("!=");

            case opCondition.like:
                return(" LIKE ");

            default: return("=");
            }
        }
Exemple #2
0
 public condition(string a, opCondition b, string c)
 {
     first   = a;
     second  = c;
     logicOP = Logic.none;
     op      = b;
 }
Exemple #3
0
 public condition(string a, string c, Logic t)
 {
     first        = a;
     second       = c;
     this.logicOP = t;
     op           = opCondition.eq;
 }
Exemple #4
0
 public condition(string a, opCondition b, string c, Logic t)
 {
     first   = a;
     second  = c;
     logicOP = t;
     op      = b;
 }