SQLite DB 允许的最大大小是多少?我可以使用 PetaPoco 作为 ORM 吗?
Windows 窗体应用程序中 SQLite 数据库允许的最大大小是多少?
我可以使用 PetaPoco 作为 ORM,或者您可以建议类似的 ORM 吗?
What is the maximum allowed size for a SQLite database in a Windows Forms application?
Can I use PetaPoco as an ORM, or can you suggest a similar ORM?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
关于您的最大大小问题,限制约为 14 TB (http://www.sqlite.org/limits.html )。
我认为您可以使用 PetaPoco,因为可以在 PetaPoco.cs 中找到以下行:
Concerning your max size question the limit is about 14 terabytes (http://www.sqlite.org/limits.html).
And I think you can use PetaPoco, since this lines can be found in PetaPoco.cs:
您可以使用 PetaPoco。当前版本3.0.4支持SqlLite。
You can use PetaPoco. The current version 3.0.4 supports SqlLite.
关于您的 PetaPoco 问题:
不,您不能使用 PetaPoco,因为它不支持 SQLite。
引用自主页:
如果你不想使用像 NHibernate (支持 SQLite)这样成熟的 ORM,还有其他 Micro- ORM,例如 PetaPoco:
Dapper 完全与数据库无关,Massive 明确支持 SQLite。
Concerning your PetaPoco question:
No, you can't use PetaPoco because it doesn't support SQLite.
Quote from the main page:
If you don't want to usw a full-blown ORM like NHibernate (which suppports SQLite), there are other Micro-ORMs like PetaPoco:
Dapper is completely database agnostic, Massive explicitly supports SQLite.