首页 > 解决方案 > 将 Firebird 数据库与实体框架模型连接 - 连接失败

问题描述

我想将 Firebird 数据库与实体框架模型连接起来。完成成功安装并创建数据库。但是,我在连接数据库时遇到了“索引超出数组范围”的问题。参考下图。 在此处输入图像描述

我按照此链接中建议的步骤进行操作。但我选择“嵌入式服务器”作为服务器类型。 https://firebirdsql.org/file/documentation/reference_manuals/fbdevgd-en/html/fbdg30-efw-vs-prepare.html

完成上述配置后,我面临以下情况。

Unable to load dll 'fbembed': The specified module could not be found. (Exception from HRESULT:0x8007007E)

因此,我在高级选项中将“fbclient.dll”设置为客户端库。之后我面临这个错误

Index was outside the bounds of the array

在此处输入图像描述

我在这里做错了什么?请纠正我。

标签: entity-frameworkfirebirdfirebird-3.0firebird-embedded

解决方案


推荐阅读