Inheritance: SqlStatement
Esempio n. 1
0
        protected override SqlStatement VisitShow(ShowStatement statement)
        {
            builder.AppendFormat("SHOW {0}", statement.Target.ToString().ToUpperInvariant());

            if (statement.TableName != null)
            {
                builder.AppendFormat(" FROM {0}", statement.TableName);
            }

            return(base.VisitShow(statement));
        }
Esempio n. 2
0
        protected override SqlStatement VisitShow(ShowStatement statement)
        {
            builder.AppendFormat("SHOW {0}", statement.Target.ToString().ToUpperInvariant());

            if (statement.TableName != null)
                builder.AppendFormat(" FROM {0}", statement.TableName);

            return base.VisitShow(statement);
        }
Esempio n. 3
0
 protected virtual SqlStatement VisitShow(ShowStatement statement)
 {
     return new ShowStatement(statement.Target, statement.TableName);
 }
Esempio n. 4
0
 protected virtual SqlStatement VisitShow(ShowStatement statement)
 {
     return(new ShowStatement(statement.Target, statement.TableName));
 }