コード例 #1
0
ファイル: OrderByClause.cs プロジェクト: pmsun-bruce/Newq
        /// <summary>
        /// Returns a SQL-string that represents the current object.
        /// </summary>
        /// <returns></returns>
        public override string ToSql()
        {
            var sql = target.GetCustomization();

            if (sql.Length > 0)
            {
                sql = string.Format("ORDER BY {0} ", sql);
            }

            return(sql);
        }