예제 #1
0
        public static string Format(Expression expression)
        {
            var formatter = new SqlFormatter(null, false);

            formatter.Visit(expression);
            return(formatter.ToString());
        }
예제 #2
0
        public static string Format(Expression expression, bool forDebug)
        {
            var formatter = new SqlFormatter(null, forDebug);

            formatter.Visit(expression);
            return(formatter.ToString());
        }