Skip to content

Commit fac5381

Browse files
authored
Update IQueryableExtensions.cs
1 parent fb17772 commit fac5381

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Routine/Routine.APi/Helpers/IQueryableExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Routine.APi.Helpers
1010
public static class IQueryableExtensions //这并不是一个接口,这种命名方式有点问题
1111
{
1212
//这是一个 IQueryable<T> 的拓展方法,接收排序字符串与属性映射字典,返回排序后的 IQueryable<T>
13+
//关于拓展方法,可以参考杨老师的另一个视频课程 https://www.bilibili.com/video/av62661924?p=5
1314
public static IQueryable<T> ApplySort<T>(this IQueryable<T> source,
1415
string orderBy,
1516
Dictionary<string, PropertyMappingValue> mappingDictionary)

0 commit comments

Comments
 (0)