mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 FreeSql.Extensions.Linq ThenBy/ThenByDescending 扩展方法 #380;
This commit is contained in:
@ -47,5 +47,15 @@
|
||||
【linq to sql】专用扩展方法,不建议直接使用
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FreeSqlExtensionsLinqSql.ThenBy``2(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
|
||||
<summary>
|
||||
【linq to sql】专用扩展方法,不建议直接使用
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FreeSqlExtensionsLinqSql.ThenByDescending``2(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
|
||||
<summary>
|
||||
【linq to sql】专用扩展方法,不建议直接使用
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
@ -141,4 +141,13 @@ public static class FreeSqlExtensionsLinqSql
|
||||
{
|
||||
return that;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 【linq to sql】专用扩展方法,不建议直接使用
|
||||
/// </summary>
|
||||
public static ISelect<T1> ThenBy<T1, TMember>(this ISelect<T1> that, Expression<Func<T1, TMember>> column) where T1 : class => that.OrderBy(column);
|
||||
/// <summary>
|
||||
/// 【linq to sql】专用扩展方法,不建议直接使用
|
||||
/// </summary>
|
||||
public static ISelect<T1> ThenByDescending<T1, TMember>(this ISelect<T1> that, Expression<Func<T1, TMember>> column) where T1 : class => that.OrderByDescending(column);
|
||||
}
|
||||
|
Reference in New Issue
Block a user