public void GetSql(TextWriter sql, RdbTable table) { string name = table.Translate(this._property); string dir = _asc ? "ASC" : "DESC"; sql.AppendQuoteName(table).Write('.'); sql.AppendQuote(table, name); sql.Write(' '); sql.Write(dir); }