sjh37 / EntityFramework-Reverse-POCO-Code-First-Generator

EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from
https://www.reversepoco.co.uk/
Other
700 stars 231 forks source link

Support for DDD enumeration classes #694

Open FaizulHussain opened 3 years ago

FaizulHussain commented 3 years ago

Instead of generating standard enums, will it be possible to generate enumeration classes as discussed here:

https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/enumeration-classes-over-enum-types

sjh37 commented 3 years ago

I could certainly generate it, however it would not add benefit unless it was a partial class to which you could add your own methods.

FaizulHussain commented 3 years ago

you are right, it would have little value. i guess the work around is to generate the partial class instead of enums, and then use DDD pattern on another partial class. this works for me

thanks