changed to .net standard.

This commit is contained in:
David Lebée
2018-02-20 21:21:23 -06:00
parent f6ce5a45af
commit 8396e24305
11 changed files with 53 additions and 214 deletions
@@ -2,7 +2,6 @@
using PoweredSoft.DynamicLinq.Helpers;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
@@ -29,10 +28,10 @@ namespace PoweredSoft.DynamicLinq.Extensions
return ret;
}
public static IQueryable<T> Sort<T>(this IQueryable<T> query, string path, SortOrder sortOrder, bool appendSort)
public static IQueryable<T> Sort<T>(this IQueryable<T> query, string path, QuerySortDirection sortDirection, bool appendSort)
{
var qb = new QueryBuilder<T>(query);
qb.Sort(path, sortOrder, appendSort);
qb.Sort(path, sortDirection, appendSort);
var ret = qb.Build();
return ret;
}