We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb17772 commit fac5381Copy full SHA for fac5381
Routine/Routine.APi/Helpers/IQueryableExtensions.cs
@@ -10,6 +10,7 @@ namespace Routine.APi.Helpers
10
public static class IQueryableExtensions //这并不是一个接口,这种命名方式有点问题
11
{
12
//这是一个 IQueryable<T> 的拓展方法,接收排序字符串与属性映射字典,返回排序后的 IQueryable<T>
13
+ //关于拓展方法,可以参考杨老师的另一个视频课程 https://www.bilibili.com/video/av62661924?p=5
14
public static IQueryable<T> ApplySort<T>(this IQueryable<T> source,
15
string orderBy,
16
Dictionary<string, PropertyMappingValue> mappingDictionary)
0 commit comments