mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 16:30:52 +08:00
This commit is contained in:
@@ -621,6 +621,17 @@ namespace base_entity
|
||||
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
|
||||
#endregion
|
||||
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await foreach (var xxs1 in fsql.Select<User1>().ToChunkAsyncEnumerable(10))
|
||||
{
|
||||
foreach (var item in xxs1)
|
||||
{
|
||||
Console.WriteLine(item.Nickname);
|
||||
}
|
||||
}
|
||||
}).Wait();
|
||||
|
||||
Utils.IsStrict = false;
|
||||
var user1Tb = fsql.CodeFirst.GetTableByEntity(typeof(User11));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user