Enum support

Nov 22, 2012 at 5:28 AM

Very, Very cool!!  Please keep developing this, I love it!

It doesn't seem to generate enums in the DTO project.  Not a big deal, but it would be nice.

Coordinator
Nov 22, 2012 at 10:23 AM
Edited Nov 22, 2012 at 10:24 AM

Hello Chris!

Thanks a lot for your words!!

About the enum issue. Enums doesn't generate DTOs with the tool because it doesn't have sense, but if you got the reason on why they should be generated please go ahead and tell me so I can review it without problems.

Currently if you reference enums in your entities, those same enums will be the ones referenced by the generated DTOs.
Take in count that if you are using a WCF Service having DTOs as input/output, your enums must have the appropiate attributes (DataContract, EnumMember).

The feature that says "Enum support" means exactly that the above statement is supported by the tool.

Hope I've been clear, if not please feel free to comment.

Thanks again for using the tool, and I really appreciate your words: "I love it!" These kind of things is what keeps the lights on.


Regards,
Fabian Fernandez

Marked as answer by ffernandez on 12/30/2013 at 6:54 PM