コード例 #1
0
        /// <summary>
        /// Formats the specified expression.
        /// </summary>
        /// <param name="expression">The expression.</param>
        /// <returns></returns>
        public new static string Format(Expression expression)
        {
            MySqlFormatter formatter = new MySqlFormatter();

            formatter.Visit(expression);
            return(formatter.ToString());
        }
コード例 #2
0
 /// <summary>
 /// Converts the query expression into text of this query language
 /// </summary>
 /// <param name="expression"></param>
 /// <returns></returns>
 public override string Format(Expression expression)
 {
     return(MySqlFormatter.Format(expression));
 }