Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Issue: MustFix: Using enum with multiple assemblies and derived types throws MetadataException [532]

$
0
0
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.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>