示例#1
0
        public Func <IQueryable <T>, IQueryable <T> > ToDelegate <T>()
        {
            string expression = string.Join(", ", _sorts.Select(x => x.ToSqlExpression()));
            var    linqSort   = new DynamicLinqSort(expression);

            return(linqSort.ToDelegate <T>());
        }
示例#2
0
        public Func <IQueryable <T>, IQueryable <T> > ToDelegate <T>()
        {
            var linqSort = new DynamicLinqSort(ToSqlExpression());

            return(linqSort.ToDelegate <T>());
        }