Reproduction with Entity Developer 7:
- Create the following MySQL table:
Code: Select all
CREATE TABLE `TestTable` ( `Id` INT(10) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`Id`) USING BTREE ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB;
- Create a new EF Core model using default settings (database first, adding TestTable to the model, etc)
- Add a new enum type using default settings
- Change the type of TestTable.Id to the new enum type
- Click Model->Update Model From Database
- Click next