protected virtual string FormatQuery(Expression query) { if (this.language != null) { //return this.language.Format(query); } return(SqlFormatter.Format(query, true)); }
/// <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)); }