Exemple #1
0
        public SqlQueryOrderBy <T> OrderByDesc(string column, string tableAlias = null)
        {
            var orderByClause = new SqlQueryOrderBy <T>(this, column, tableAlias, true);

            _orderBy = orderByClause;
            return(_orderBy);
        }
Exemple #2
0
        public SqlQueryOrderBy <T> OrderByDesc <TProp>(Expression <Func <T, TProp> > expression, string tableAlias = null)
        {
            var orderByClause = new SqlQueryOrderBy <T>(this, SqlQueryColumn.GetColumnName(expression), tableAlias, true);

            _orderBy = orderByClause;
            return(_orderBy);
        }