Example #1
0
        private void AddOrderByStatements <TEntity>(IEnumerable <Expression <Func <TEntity, object> > > getters, OrderByDirection orderByDirection, string alias = null)
        {
            var propertyNames = getters.Select(GetPropertyName).ToList();

            _sqlQuery.AddOrderByStatements <TEntity>(propertyNames, orderByDirection, alias);
        }