This question is locked. New answers and comments are not allowed.
I have succesfully mapped enum types using "classic" OpenAccess before, but when I map a Metaproperty to an Enum type using the Designer version, I get a runtime error stating that:
Where "Category" looks like this:
So the code compiles, but something goes wrong at runtime.
Am I missing something?
Type is enhanced and registered, but not available from the database class meta data. This can be caused by a wrong connection id or configuration. Parameter name: src Actual value was MyWebsite.Models.CategoryWhere "Category" looks like this:
enum Category { News = 1, Blog = 2, Forum = 3 }So the code compiles, but something goes wrong at runtime.
Am I missing something?