Exemple #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));
        }
Exemple #2
0
 /// <summary>Операция NotIn</summary>
 public static Cond NotIn(string field, From alias, Select subQuery)
 {
     return(Cond.NotIn(Expr.Field(field, alias), subQuery));
 }
Exemple #3
0
 /// <summary>Операция NotIn</summary>
 public static Cond NotIn(string field, Select subQuery)
 {
     return(Cond.NotIn(field, null, subQuery));
 }