public static string GetSqlExpression(Expression linqExpression, ParameterAggregator parameterAggregator) { var visitor = new SqlGeneratorExpressionTreeVisitor(parameterAggregator); visitor.Visit(linqExpression); return(visitor.GetSqlExpression()); }
private string GetSqlExpression(Expression expression) => SqlGeneratorExpressionTreeVisitor.GetSqlExpression(expression, _parameterAggregator);