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

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

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

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