It is possible to define an Enum type with several members, but no matter what you do with the checkbox IsExternal, the generated code does not have the declaration of the enum type. It is something as simple as:
<Enum Type> = (Member1, Member2, ..., MemberN)
or
<Enum Type> = (Member1[ = Value1], Member2[ = Value2], ..., MemberN[ = ValueN])
if using the optional values.
Even worse, when loading the generated XML mapping an error is triggered:
Unknown <Column> attribute type: <Enum Type>
If the feature is not enabled for Delphi, just hide it from the Entity Developer diagram.
Enums declarations are not generated in Delphi
-
- Posts: 4
- Joined: Thu 20 Apr 2017 19:44
Re: Enums declarations are not generated in Delphi
Hello,
Support for Enum types is added to our roadmap, but we can't tell the exact time frame for its implementation.
Support for Enum types is added to our roadmap, but we can't tell the exact time frame for its implementation.