- 增加 IncludeByPropertyName 重载 then 参数;#1214

This commit is contained in:
2881099
2022-08-12 12:07:17 +08:00
parent 65d0ac6185
commit 2450324f28
8 changed files with 95 additions and 17 deletions

View File

@ -351,6 +351,7 @@ namespace FreeSql
/// <param name="property"></param>
/// <returns></returns>
ISelect<T1> IncludeByPropertyName(string property);
ISelect<T1> IncludeByPropertyName(string property, Expression<Action<ISelect<object>>> then);
/// <summary>
/// 按属性名字符串进行 Include/IncludeMany 操作
/// </summary>
@ -358,6 +359,7 @@ namespace FreeSql
/// <param name="property"></param>
/// <returns></returns>
ISelect<T1> IncludeByPropertyNameIf(bool condition, string property);
ISelect<T1> IncludeByPropertyNameIf(bool condition, string property, Expression<Action<ISelect<object>>> then);
/// <summary>
/// 实现 select .. from ( select ... from t ) a 这样的功能<para></para>