mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 增加 DTO 非导航属性直接映射子查询 ToList,处理异步执行逻辑;
This commit is contained in:
@ -21,7 +21,8 @@ namespace FreeSql
|
||||
Task<DataTable> ToDataTableByPropertyNameAsync(string[] properties, CancellationToken cancellationToken = default);
|
||||
Task<Dictionary<TKey, T1>> ToDictionaryAsync<TKey>(Func<T1, TKey> keySelector, CancellationToken cancellationToken = default);
|
||||
Task<Dictionary<TKey, TElement>> ToDictionaryAsync<TKey, TElement>(Func<T1, TKey> keySelector, Func<T1, TElement> elementSelector, CancellationToken cancellationToken = default);
|
||||
Task<List<T1>> ToListAsync(bool includeNestedMembers = false, CancellationToken cancellationToken = default);
|
||||
Task<List<T1>> ToListAsync(CancellationToken cancellationToken = default);
|
||||
Task<List<T1>> ToListAsync(bool includeNestedMembers, CancellationToken cancellationToken = default);
|
||||
Task<List<TTuple>> ToListAsync<TTuple>(string field, CancellationToken cancellationToken = default);
|
||||
|
||||
Task<T1> ToOneAsync(CancellationToken cancellationToken = default);
|
||||
|
Reference in New Issue
Block a user