Esempio n. 1
0
 protected virtual SqlOrderByList VisitSqlOrderByList(SqlOrderByList sqlOrderByList)
 {
     foreach (SqlOrderBy item in sqlOrderByList.Items)
     {
         this.Visit(item);
     }
     return(sqlOrderByList);
 }
Esempio n. 2
0
        protected override SqlOrderByList VisitSqlOrderByList(SqlOrderByList sqlOrderByList)
        {
            _sql.Append("ORDER BY ");

            for (int i = 0, c = sqlOrderByList.Items.Count; i < c; i++)
            {
                if (i > 0)
                {
                    _sql.Append(", ");
                }
                this.Visit(sqlOrderByList.Items[i] as SqlOrderBy);
            }

            return sqlOrderByList;
        }
Esempio n. 3
0
 protected virtual SqlOrderByList VisitSqlOrderByList(SqlOrderByList sqlOrderByList)
 {
     foreach (SqlOrderBy item in sqlOrderByList.Items)
     {
         this.Visit(item);
     }
     return sqlOrderByList;
 }