Beispiel #1
0
        /// <inheritdoc />
        public ISelectStringBuilder OrderBy(string columnName, SortingOperator @operator)
        {
            var clause = new OrderByClause(columnName, @operator);

            OrderByStatement.Add(clause);
            return(this);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderByClause"/> class.
 /// </summary>
 /// <param name="column">The column.</param>
 /// <param name="order">The sort order.</param>
 public OrderByClause(string column, SortingOperator order)
 {
     ColumnName = column;
     SortOrder  = order;
 }