protected virtual string FormatQuery(Expression query)
 {
     if (this.language != null)
     {
         //return this.language.Format(query);
     }
     return(SqlFormatter.Format(query, true));
 }
Beispiel #2
0
 /// <summary>
 /// Converts the query expression into text of this query language
 /// </summary>
 /// <param name="expression"></param>
 /// <returns></returns>
 public virtual string Format(Expression expression)
 {
     // use common SQL formatter by default
     return(SqlFormatter.Format(expression));
 }