public static IExpressionBuilder Function(this IExpressionBuilder builder, ObjectName functionName, params Action <IExpressionBuilder>[] args) { return(builder.Function(functionName, args.Select(x => { var expBuilder = new ExpressionBuilder(); x(expBuilder); return expBuilder.Build(); }).ToArray())); }
public static IExpressionBuilder Function(this IExpressionBuilder builder, string functionName, params SqlExpression[] args) { return(builder.Function(ObjectName.Parse(functionName), args)); }
public static IExpressionBuilder Function(this IExpressionBuilder builder, string functionName) { return(builder.Function(functionName, new SqlExpression[0])); }