We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#360 (comment) 请问使用ToChunk 时,如果中途需要停止读取,怎么处理
var testlist1 = fsql.Select<Song>().OrderBy(a => a.Id).ToList(); var testlist2 = new List<Song>(); fsql.Select<Song>().OrderBy(a => a.Id).ToChunk(100, done => { testlist2.AddRange(done.Object); //done.IsBreak = true; v1.7.0 停止读取 }); //这里示范,最终 testlist1 与 testlist2 返回的数据相同。
fsql.Ado.ExecuteReader(fetch => { var xim = new xxx(); fetch.Object.GetValue(0); fetch.Object.GetValue(1); fetch.Object.GetValue(2); fetch.Object.GetValue(3); fetch.Object.GetValue(4); adolist1.Add(xim); }, "select * from freesql_song");
The text was updated successfully, but these errors were encountered:
v1.7.0 #391 #390 #382 #381 #380 #371 #369 #366 #365 #362 #360 #235
c2749ba
No branches or pull requests
1、ISelect ToChunk 参数类型调整
#360 (comment)
请问使用ToChunk 时,如果中途需要停止读取,怎么处理
2、IAdo ExecuteReader 相关方法的类型调整
3、FreeSql.Provider.SqlServer 在 netstandard20 和 net461 引用调整为 Microsoft.Data.SqlClient
The text was updated successfully, but these errors were encountered: