This can be reproduced in the following scenario:
1. Base class with an enum
2. two derived classes in different assemblies
Exception Message: No corresponding object layer type could be found for the conceptual type 'EnumInheritanceBugRepro.TestEnum'.
The same inheritance works if they are in the same assembly.
A solution reproducing the exception is attached.
Comments: Apparently it is possible to hit this just for 1 entity and 1 enum type - it depends on the order assemblies are being loaded. This is why I could not repro this scenario before when I tried it.
1. Base class with an enum
2. two derived classes in different assemblies
Exception Message: No corresponding object layer type could be found for the conceptual type 'EnumInheritanceBugRepro.TestEnum'.
The same inheritance works if they are in the same assembly.
A solution reproducing the exception is attached.
Comments: Apparently it is possible to hit this just for 1 entity and 1 enum type - it depends on the order assemblies are being loaded. This is why I could not repro this scenario before when I tried it.