出現如下問題

引用:http://stackoverflow.com/questions/33575109/mysql-entity-the-value-for-column-isprimarykey-in-table-tabledetails-is
1. Open Services (services.msc) and restart MySQL57 service. 2. Execute the following commands in MySQL. use <<database name>>; set global optimizer_switch='derived_merge=OFF'; 3. Update the .edmx.
步驟為:
1、重啟mysql服務
2、登錄mysql數據庫
use mytestdb;
set global optimizer_switch='derived_merge=OFF';

這樣就可以了
