Esempio n. 1
0
        public static string Format(Expression expression, QueryLanguage language)
        {
            var formatter = new TSqlFormatter(language);

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

            return(formatter.ToString());
        }
Esempio n. 2
0
 public override string Format(Expression expression)
 {
     return(TSqlFormatter.Format(expression, this.Language));
 }