예제 #1
0
        public static string Format(Expression expression, QueryLanguage language)
        {
            var formatter = new MySqlFormatter(language);

            if (formatter != null)
            {
                formatter.Visit(expression);
            }

            return(formatter.ToString());
        }
예제 #2
0
 public override string Format(Expression expression)
 {
     return(MySqlFormatter.Format(expression, this.Language));
 }