Beispiel #1
0
        // The service code will call this to apply these sort options to a database query
        public IQueryable <TEntity> Apply(IQueryable <TEntity> query)
        {
            var processor = new SortOptionsProcessor <T, TEntity>(OrderBy);

            return(processor.Apply(query));
        }