Hello,
I solved partially my problem using these steps:
- I deleted old Edmx file and connection string linked to MySQL server
- I changed target framework from 4.5 to 4.7.2
- I update EntityFramework , MySql.Data and MySql.Data.EntityFramework to the latest version
- I checked and manually changed assembly reference target version to version installed
After all changes I thin that the problem was that assembly reference not updating correctly.
Right now I observed that the diagram is not updated correctly (primary and foreign keys and references between tables).
Also I observed that DDL Generation Template is automatically selected to SSDLToSQL10.tt (VS), but I use MySQL.
Referring to this I have the following error :
Error 6002: The table/view 'def.datap.stare_echipamente' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view. DataPlanModel.edmx 1