An optimizer that turns nested SQL function calls into a single function call (if possible) function call.
For example: CONCAT(CONCAT(X, Y), Z) => CONCAT(X, Y, Z)
Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Exemple #1
0
        public static Expression Coalesce(Expression expression)
        {
            var functionCoalescer = new SqlFunctionCoalescer();

            return(functionCoalescer.Visit(expression));
        }
        public static Expression Coalesce(Expression expression)
        {
            var functionCoalescer = new SqlFunctionCoalescer();

            return functionCoalescer.Visit(expression);
        }