【发布时间】:2015-08-31 21:32:06
【问题描述】:
我一直在尝试查找有关如何为 firebird 数据库(嵌入式版本)设置实体框架 6.0 提供程序的任何文档,但在 .Net 应用程序中没有任何运气。
我能找到的大部分文档都是关于 ADO.Net 提供程序的,但我正在寻找一个非常具体的实体框架:
1) 如何使用 app.config 设置 firebird EF6 提供程序 2) 并且可选地如何使用新的 EF6 代码设置进行设置(通过覆盖 DbConfiguration 类:我不确定将什么传递给 Firebird EF6 提供程序的 SetExecutionStrategy() 和 SetDefaultConnectionFactory() 方法。
提供者的链接在这里: http://www.firebirdsql.org/en/additional-downloads/
还有我在网站上找到的关于 .net 的文档(但仅适用于 ADO,没有关于实体框架 dll 的内容)。 http://www.firebirdsql.org/en/net-examples-of-use/
我唯一知道的是,对于嵌入式数据库,ServerType 应该是 1
【问题讨论】:
-
安装 NuGet 包:nuget.org/packages/EntityFramework.Firebird
-
感谢 blog-cincura.net 的链接。我已经找到了,这是关于如何使用旧的 ADO.Net 提供程序设置实体框架 6 的旧文档。
标签: .net firebird firebird-embedded