如何将实体框架用于 MS Access 数据库 [英] How to use Entity framework for MS Access database
问题描述
我必须在 C#.Net 4.0 中开发一个桌面 Windows 应用程序,它将在三个不同的数据库中运行,即.MS Access 2007 以后,Oracle 11G 和 SQL Server 2008.现在我想在我的应用程序中使用实体框架.这是将 EF 用于我的应用程序的最佳选择吗?如果是,那么如何将实体框架用于 Access 数据库?提前致谢.
I have to develop a desktop windows application in C#.Net 4.0 that will run in three different databases ie. MS Access 2007 onwards, Oracle 11G, and SQL Server 2008. Now I want to use Entity Framework in my application. Is this a best choice to use EF for my application ? If yes, then how can I use entity framework for Access database? Thanks in Advance.
推荐答案
您可以使用 Microsoft Access 的实体框架提供程序将 EF 与 Microsoft Access 结合使用.您可以找到 Access 的 EF 提供商
You can use the EF with Microsoft Access using an Entity Framework provider for Microsoft Access. You can find an EF provider for Access
https://github.com/bubibubi/JetEntityFrameworkProvider
这篇关于如何将实体框架用于 MS Access 数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!