- 增加 ISelect`1.WithSql("select * from user ...") 功能;

This commit is contained in:
28810
2019-12-31 16:26:04 +08:00
parent 113a8276b3
commit 255593a594
4 changed files with 33 additions and 0 deletions

View File

@ -369,5 +369,13 @@ namespace FreeSql
/// <param name="then">即能 ThenInclude还可以二次过滤这个 EFCore 做不到?)</param>
/// <returns></returns>
ISelect<T1> IncludeMany<TNavigate>(Expression<Func<T1, IEnumerable<TNavigate>>> navigateSelector, Action<ISelect<TNavigate>> then = null) where TNavigate : class;
/// <summary>
/// 实现 select .. from ( select ... from t ) a 这样的功能<para></para>
/// 使用 AsTable 方法也可以达到效果
/// </summary>
/// <param name="sql">SQL语句</param>
/// <returns></returns>
ISelect<T1> WithSql(string sql);
}
}