protected override string GetSqlWhereClause(IEnumerable <string> tokens) { return(SqlFormatter.Conjunction(tokens.Select(t => SqlFormatter.Disjunction( SqlFormatter.FormatStartsWith("SearchString", t + " "), SqlFormatter.FormatContains("SearchString", " " + t + " "))) )); }
protected override string GetSqlWhereClause(IEnumerable <string> tokens) { return(SqlFormatter.Conjunction(tokens.Select(t => SqlFormatter.FormatEquals("StammedPartNumber", t)))); }