Simple.Data 选择超过 100 行时出错

发布于 2024-12-29 19:34:55 字数 252 浏览 6 评论 0原文

我正在尝试在下一个项目中使用 Simple.Data,并遇到了一些看起来像错误的东西。

如果我尝试对表使用 All 或 FindAll 函数,并且结果集超过大约 100 行(有时我可以获得 101 或 102,但从未获得 103),则会收到对象引用错误。

我的第一个想法是,可能有一些设置允许我提高这个限制,但我已经阅读了我能找到的所有文档,但没有看到类似的内容。

我正在使用 SQL Server。

有谁知道出了什么问题吗?

I'm playing around with using Simple.Data for my next project, and ran across something that seems like a bug.

If I try to use the All or FindAll function for a table and the result set is more than about 100 rows (sometimes I can get 101 or 102, but I have never gotten 103), I get an Object Reference error.

My first thought is that there may be some setting that would allow me to up this limit, but I've read through all the documentation I can find and haven't seen anything like that.

I am using SQL Server.

Does anyone know what is wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清泪尽 2025-01-05 19:34:55

是的,
根据 Mark Rendle 的说法,它应该在最新版本中修复:

结果集大于 100 行会导致错误在DataReaderEnumerator

我认为这个问题以前不存在。

Yes,
according to Mark Rendle it should be fixed in the latest build:

Result set larger than 100 rows causes error in DataReaderEnumerator

I think that this problem wasn't there before.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文