mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Add GetAsyncEnumerable GetEnumerable
This commit is contained in:
@@ -172,6 +172,8 @@ namespace SqlSugar
|
|||||||
ISugarQueryable<T> MergeTable();
|
ISugarQueryable<T> MergeTable();
|
||||||
void ForEachDataReader(Action<T> action);
|
void ForEachDataReader(Action<T> action);
|
||||||
Task ForEachDataReaderAsync(Action<T> action);
|
Task ForEachDataReaderAsync(Action<T> action);
|
||||||
|
IAsyncEnumerable<T> GetAsyncEnumerable();
|
||||||
|
IEnumerable<T> GetEnumerable();
|
||||||
void ForEach(Action<T> action, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
void ForEach(Action<T> action, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
||||||
Task ForEachAsync(Action<T> action, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
Task ForEachAsync(Action<T> action, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
||||||
void ForEachByPage(Action<T> action, int pageIndex, int pageSize, ref int totalNumber, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
void ForEachByPage(Action<T> action, int pageIndex, int pageSize, ref int totalNumber, int singleMaxReads = 300, System.Threading.CancellationTokenSource cancellationTokenSource = null);
|
||||||
|
Reference in New Issue
Block a user