コード例 #1
0
        public static string Replace(DbCommand command, SelectClauseDictionary expressions, string filter)
        {
            FilterFunctions functions = new FilterFunctions(command, expressions, filter);

            return(functions.ToString());
        }
コード例 #2
0
 public FilterFunctions(DbCommand command, SelectClauseDictionary expressions, string filter)
 {
     this._command     = command;
     this._filter      = filter;
     this._expressions = expressions;
 }
コード例 #3
0
 public override string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments)
 {
     return(String.Format("not({0})", base.ExpandWith(command, expressions, arguments)));
 }
コード例 #4
0
 public override string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments)
 {
     return(String.Format("{0} is not null", expressions[FirstArgument(arguments)]));
 }
コード例 #5
0
 public virtual string ExpandWith(DbCommand command, SelectClauseDictionary expressions, string arguments)
 {
     return(String.Empty);
 }