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>()); }
public Func <IQueryable <T>, IQueryable <T> > ToDelegate <T>() { var linqSort = new DynamicLinqSort(ToSqlExpression()); return(linqSort.ToDelegate <T>()); }