public static Cond NotIn(Expr expr, params double[] values) { List <Constant> col = new List <Constant>(); for (int i = 0; i < values.Length; i++) { col.Add(Constant.Num(values[i])); } return(Cond.In(expr, col)); }
public static Cond In(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.In(expr, col)); }
/// <summary>Операция In</summary> public static Cond In(string field, From alias, Select subQuery) { return(Cond.In(Expr.Field(field, alias), subQuery)); }
/// <summary>Операция In</summary> public static Cond In(string field, Select subQuery) { return(Cond.In(field, null, subQuery)); }