2.0 Version & Enums - Enums not being generated
Posted: Thu 16 Aug 2018 14:49
Howdy,
In my project, I have numerous "Status" text fields on my entities that I would prefer to convert to Enums.
I have created a test project with a Parent / Child relationship... Created an Enum called "TestEnum" with 3 items "New", "Started" and "Closed".
I can add the Enum to either of the entities in the diagram. I can generate the class code for Delphi.
The property on the Entity is being added correctly in the generated SQL for the SQL Server database as TINYINT columns, seemingly correct.
The code generated references the Enums as properties of the generated classes. However, the Enums themself are not being generated in the code.
(Note: Complex Types are also not being generated. )
Suggestions?
Thanks, Tim
In my project, I have numerous "Status" text fields on my entities that I would prefer to convert to Enums.
I have created a test project with a Parent / Child relationship... Created an Enum called "TestEnum" with 3 items "New", "Started" and "Closed".
I can add the Enum to either of the entities in the diagram. I can generate the class code for Delphi.
The property on the Entity is being added correctly in the generated SQL for the SQL Server database as TINYINT columns, seemingly correct.
The code generated references the Enums as properties of the generated classes. However, the Enums themself are not being generated in the code.
(Note: Complex Types are also not being generated. )
Suggestions?
Thanks, Tim