예제 #1
0
        public static Cond NotIn(Expr expr, params string[] values)
        {
            List <Constant> col = new List <Constant>();

            for (int i = 0; i < values.Length; i++)
            {
                col.Add(Constant.String(values[i]));
            }
            return(Cond.NotIn(expr, col));
        }
예제 #2
0
 /// <summary>Операция NotIn</summary>
 public static Cond NotIn(string field, From alias, Select subQuery)
 {
     return(Cond.NotIn(Expr.Field(field, alias), subQuery));
 }
예제 #3
0
 /// <summary>Операция NotIn</summary>
 public static Cond NotIn(string field, Select subQuery)
 {
     return(Cond.NotIn(field, null, subQuery));
 }