MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: 2017 and Entity Framework edm generation with 1.2.8 and 8.0.13
Date: March 20, 2019 10:44AM

Hello Bill,
EF6 is the recommended version. If using versions 8.0.x of MySql assemblies I recommend validating that your web.config file contains the following entries Note that depending on your configuration, additional childs may exist in the referenced tags, also I'm using version 8.0.13 as an example:

<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

<defaultConnectionFactory type="MySql.Data.EntityFramework.MySqlConnectionFactory, MySql.Data.EntityFramework">
<parameter value="v11.0" />
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.13, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />

<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.13, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />

Jose Ramirez.

Options: ReplyQuote

Written By
Re: 2017 and Entity Framework edm generation with 1.2.8 and 8.0.13
March 20, 2019 10:44AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.