mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-07-30 08:45:57 +08:00
- 升级 nuget 依赖包;
- 增加 .netframework 4.6.1 示范项目; - PostgreSQL 连接池大小默认值改为 50; - ISelect 增加 Any/AnyAsync(Expression),为的少写一个 Where;
This commit is contained in:
@ -6,6 +6,9 @@ using System.Threading.Tasks;
|
||||
namespace FreeSql {
|
||||
public interface ISelect<T1, T2, T3, T4, T5, T6, T7> : ISelect0<ISelect<T1, T2, T3, T4, T5, T6, T7>, T1> where T1 : class where T2 : class where T3 : class where T4 : class where T5 : class where T6 : class where T7 : class {
|
||||
|
||||
bool Any(Expression<Func<T1, T2, T3, T4, T5, T6, T7, bool>> exp);
|
||||
Task<bool> AnyAsync(Expression<Func<T1, T2, T3, T4, T5, T6, T7, bool>> exp);
|
||||
|
||||
List<TReturn> ToList<TReturn>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, TReturn>> select);
|
||||
Task<List<TReturn>> ToListAsync<TReturn>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, TReturn>> select);
|
||||
string ToSql<TReturn>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, TReturn>> select);
|
||||
|
Reference in New Issue
Block a user