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

            formatter.Visit(expression);
            return(formatter.ToString());
        }
예제 #2
0
        public static string Format(Expression expression, QueryLanguage language)
        {
            var formatter = new SqlCeFormatter(language);

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

            return(formatter.ToString());
        }
예제 #3
0
 public static string Format(Expression expression, QueryLanguage language)
 {
     SqlCeFormatter formatter = new SqlCeFormatter(language);
     formatter.Visit(expression);
     return formatter.ToString();
 }