public static string Replace(DbCommand command, SelectClauseDictionary expressions, string filter) { FilterFunctions functions = new FilterFunctions(command, expressions, filter); return(functions.ToString()); }
public FilterFunctions(DbCommand command, SelectClauseDictionary expressions, string filter) { this._command = command; this._filter = filter; this._expressions = expressions; }
public override string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments) { return(String.Format("not({0})", base.ExpandWith(command, expressions, arguments))); }
public override string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments) { return(String.Format("{0} is not null", expressions[FirstArgument(arguments)])); }
public virtual string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments) { return(String.Empty); }