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

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

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

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