Hi,
I was using EF5 and decided to switch to EF6.
If you run the attached project, you will find that the TPT inheritance is not properly applied to the database, but only for foreign keys. In this example the Department_Id foreign key is moved up to the Person table instead of being in the Employee table, while the HiredDate field remains in the Employee table.
Removing the Clients property from the DB context restores the proper behavior.
I was using EF5 and decided to switch to EF6.
If you run the attached project, you will find that the TPT inheritance is not properly applied to the database, but only for foreign keys. In this example the Department_Id foreign key is moved up to the Person table instead of being in the Employee table, while the HiredDate field remains in the Employee table.
Removing the Clients property from the DB context restores the proper behavior.