简体   繁体   English

Devart.Data.MySQL 实体提供者

[英]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.

相关问题 Postgresql Devart EF:基础提供程序在打开时失败 - Postgresql Devart EF : The underlying provider failed on Open “提供者没有返回带有Entity Framework的ProviderManifestToken字符串”MySQL - “The provider did not return a ProviderManifestToken string” MySQL with Entity Framework SQLite&Entity Framework 6“基础数据提供程序无法打开” - SQLite & Entity Framework 6 “The underlying data provider failed to open” WCF数据服务实体框架提供程序无法识别继承实体 - WCF Data Services Entity Framework Provider fails to recognize inheriting entities 使用Entity Framework代码优先和DevArt驱动程序调用Oracle存储过程 - Calling an Oracle stored procedure with Entity Framework code-first and DevArt Drivers 使用MySql无法在Entity Framework 6中延迟加载数据 - Lazy loading data in Entity Framework 6 with MySql not working 使用Devart dotConnect提供程序进行代码优先上下文初始化期间PostgreSQL日志中的“列c.CreatedOn不存在......”错误 - Error “column c.CreatedOn does not exist…” in PostgreSQL logs during code first context initialization using the Devart dotConnect provider 实体框架6的IBM Data Server EF 6提供程序 - 限制 - 可能的解决方法 - IBM Data Server EF 6 Provider for Entity Framework 6 - Limitations - Possible Workarounds 没有为ADO.NET提供程序找到具有不变名称“System.Data.SqlClient”的实体框架提供程序。 - No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. 错误:找不到具有不变名称'System.Data.SqlClient'的ADO.NET提供程序的实体框架提供程序 - Error: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM