什么是好的“手机”? 支持 LINQ 的 .NET 数据库?

发布于 2024-07-11 00:28:51 字数 202 浏览 5 评论 0原文

我正在重构应用程序,并决定使用移动/嵌入式数据库。

我一直在阅读有关 SQL Server Compact Edition 的内容,但我想知道你们是否知道任何其他可以使用且下载量不大的数据库,因为我当前的应用程序约为 2MB(安装程序)。 SQLite 会很好,但据我所知,LINQ-to-SQLite 的 GSoC 实现目前有很多错误。

谢谢!

I'm in the process of refactoring an application and I've decided to use a mobile/embedded database.

I've been reading about SQL Server Compact Edition, but I was wondering if any of you knew of any other databases that could be used and don't have huge download sizes, as my current application is about ~2MB (installer). SQLite would be nice, but AFAIK the GSoC implementation of LINQ-to-SQLite is rather buggy at the moment.

Thanks!

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

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

发布评论

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

评论(3

爱已欠费 2024-07-18 00:28:51

我已经尝试过 db40 一次(不是精简版)——它是一个对象数据库。 然而,根据您的需要,使用起来可能会相当舒适。 他们指出,即使是精简版也支持 linq:
http://www.db4o.com/s/compactframeworkdb.aspx

I have tried out db40 once (not the compact edition) - it is an object database. However, depending on your needs it may be a rather comfortable thing to use. They note that they support linq even for the compact edition:
http://www.db4o.com/s/compactframeworkdb.aspx

惜醉颜 2024-07-18 00:28:51

VistaDB 和(正如您提到的)Sql Server Compact Edition 是嵌入式数据库的两个小选项。 Sql Server Compact Edition 可与 Linq to SQL 或实体框架一起使用。 我相信 VistaDB 可以与实体框架一起使用。

另外,如果您不需要关系数据库,您可能需要考虑 db4o。 Rob Conery 在此处撰写了有关此内容的文章。

希望这可以帮助!

VistaDB and (as you mentioned) Sql Server Compact Edition are two small options for an embedded database. Sql Server Compact Edition can be used with Linq to SQL or Entity Framework. I believe VistaDB can be used with the Entity Framework.

Also, if you do not require a relational database, you may want to consider db4o. Rob Conery writes about this here.

Hope this helps!

蓝梦月影 2024-07-18 00:28:51

我自己没有使用过它,但您可能想看看 BlackFish。 虽然我不确定它是否支持 Linq,但 Delphi 支持 Linq,所以可能是这样。 另一个可能是嵌入式Firebird - 再次,不确定 Linq 方面的事情。

I haven't used it myself, but you might want to look at BlackFish. I'm not sure about its Linq support though, but Delphi supports Linq so it may. Another may be Embedded Firebird - again, not sure about the Linq side of things.

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