These two days let entityframework tortured a bit, the connection MySQL generated entity is always flash back.
On the internet there is no specific reason for the flash back.
So I can only bite the bullet to solve this problem.
That's not a lot of crap. The reason for the flashback is MYSQL Connector Net version and MySql.Data.dll, MySql.Data.Entity.EF6.dll version
Not compatible. This may be one-sided, but the problem is solved by version.
Specific solutions:
1. Install MYSQL my version is 5.6, with the mysql-installer-web-community installed.
2. Reinstall MySQL Connector Net i installed the version is 6.9.6.
3. New Project
Installation
NuGet:
Install-package mysql.data.entity-version 6.9.3
Install-package mysql.data-version 6.9.3
The installation process will automatically install the EntityFramework version 6.0.0 if the version is too high it is recommended to drop to 6.0.0
Reboot VS (may not be required)
This time, try to help you solve the problem of the flash back.
Current time 2015-08-27 test passed.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
EntityFramework connection to Mysql flash back problem