Re: MySQL 5.7: System.Data.StrongTypingException when adding or updating an Entity Framework EDMX model
Posted by: ahmed salah
Date: December 25, 2015 05:52AM

I'M USING VS2015 AND MYSQL 5.7 and i have instlaed MySQL for Visual Studio 1.2.5 and Connector/Net 6.9.8
when i want to genrate a model from mysql database with entity framework 6
ihave an exeption
Impossible de générer le modèle en raison de l'exception suivante : 'System.Data.StrongTypingException: La valeur pour la colonne 'IsPrimaryKey' dans la table 'TableDetails' est DBNull. ---> System.InvalidCastException: Le cast spécifié n'est pas valide.
à Microsoft.Data.Entity.Design.VersioningFacade.ReverseEngineerDb.SchemaDiscovery.TableDetailsRow.get_IsPrimaryKey()

please help

Options: ReplyQuote

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.