如何将嵌入式数据库与实体框架结合使用?

发布于 2024-08-14 03:09:29 字数 239 浏览 0 评论 0原文

我想知道如何使用 .NET 实体框架和嵌入式数据库解决方案。目前,我仅将 EF 与 SQL Server 结合使用,但对于新项目,我正在寻找替代解决方案。 SQL Server Compact 是一种解决方案,但是还有其他替代方案可以与 EF 一起使用吗?最好的解决方案不需要复杂的安装?

I was wondering about the use of the .NET entity framework with an embedded database solution. Right now, I only use the EF with SQL Server but for a new project I'm looking for alternate solutions. SQL Server Compact would be one solution, but are there other alternatives that I can use with EF? Preferably solutions that don't require complex installations?

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

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

发布评论

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

评论(2

征﹌骨岁月お 2024-08-21 03:09:29

ADO.NET 实体框架提供程序的实际(尽管不是完整的)列表可在 这里
有几个支持嵌入式 MySQL 的提供商 - dotConnect for MySQLMySQL Connector/NET 和 SQLite - dotConnect for SQLiteSystem.Data.SQLite。

The actual (although not the full one) list of ADO.NET Entity Framework providers is available here.
There is a couple of providers supporting Embedded MySQL - dotConnect for MySQL and MySQL Connector/NET and SQLite - dotConnect for SQLite and System.Data.SQLite.

傲影 2024-08-21 03:09:29

如果有用于嵌入式数据库的 EF 提供程序,您应该能够将其直接插入 EF。请咨询您的嵌入式数据库提供商,了解他们是否支持 EF。

实体框架的第三方提供商支持
http://blogs.msdn.com/adonet/archive/2008/08/11/third-party-provider-support-for- the-entity-framework-rtm.aspx

If there is an EF provider for the embedded database, you should be able to plug it right into EF. Check with your embedded database provider to see if they have support for EF.

Third Party Provider Support for the Entity Framework
http://blogs.msdn.com/adonet/archive/2008/08/11/third-party-provider-support-for-the-entity-framework-rtm.aspx

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