public static Condition Where(this string sql, IConditionOperater op, string placeholder = "#where#") { return(new Condition(sql, placeholder, op)); }
public Condition Or(IConditionOperater op) { _SB.Append($" Or {op.ToString()}"); return(this); }
public static IConditionOperater Not(this IConditionOperater op) { return(new PrefixConditionOperater("NOT", op.ToString())); }
public Condition(string sql, string placeholder, IConditionOperater op) { _Sql = sql; _Placeholder = placeholder; _SB.Append($" {op.ToString()}"); }