fixed entity relationships and reverted to entity framework 5. persistence to MySQL fully functional now.