[英]Devart.Data.MySQL Entity Provider
I'm having an issue getting Devart.Data.MySQL set up as an Entity Provider.我在将 Devart.Data.MySQL 设置为实体提供程序时遇到问题。
What I have reached so far is this App.config: https://paste.mozilla.org/Q81ctALe到目前为止我所达到的是这个 App.config: https://paste.mozilla.org/Q81ctALe
But all that does is throw this exception:但所做的只是抛出这个异常:
System.InvalidOperationException: 'The Entity Framework provider type 'Devart.Data.MySql.Entity.MySqlEntityProviderServices, Devart.Data.MySql.Entity.EF6' registered in the application config file for the ADO.NET provider with invariant name 'Devart.Data.MySql' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application.
At this point I'm out of ideas - any suggestions?在这一点上我没有想法 - 有什么建议吗?
Usage of the Devart Entity Data Provider with Entity Framework v6 is described at https://www.devart.com/dotconnect/mysql/docs/?EF.html .在https://www.devart.com/dotconnect/mysql/docs/?EF.html中描述了使用实体框架 v6 的 Devart 实体数据提供程序。
Notes:笔记:
the Entity Framework support is available in the Professional edition of dotConnect for MySQL, its installation includes the required assemblies在 MySQL 的 dotConnect专业版中提供实体框架支持,其安装包括所需的程序集
we recommend you to use Entity Developer (the Devart Entity Model item, *.edml) shipped with the provider instead of EDM Designer (the ADO.NET Entity Data Model item, *.edmx) because *.edml is adjusted for working with MySQL and has advanced functionality .我们建议您使用 Entity Developer(Devart Entity Model 项目,*.edml),而不是 EDM Designer(ADO.NET Entity Data Model 项目,*.edmx),因为 *.edml 已针对 MySQL 进行了调整,并且具有高级功能。 Additionally, Entity Developer adds registration of EF6 provider in app.config automatically.
此外,Entity Developer 会自动在 app.config 中添加 EF6 提供程序的注册。
If this information doesn't help, submit the request via our contact form如果此信息没有帮助,请通过我们的联系表提交请求
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.