AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

Plinqo Enum Generation #546

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if the Enums generated by Plinqo could be put in any namespace 
instead of only the same location as the Entities.

Original issue reported on code.google.com by regbra...@gmail.com on 21 Jan 2011 at 9:59

GoogleCodeExporter commented 9 years ago
Hello,

These are generated Enumerations that are generated from the database and 
related directly to the entities. Is there a specific reason one would want to 
put these in a different namespace.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 27 Jan 2011 at 4:18

GoogleCodeExporter commented 9 years ago
It is a matter of namespace use, we put all our constants and enums in the
same namespace. Currently none of them ar generated, even if they are
reflected in the DB. If we can generate to the same namespace we can replace
some of the existing enums w/o having to go add/change using statements in
the project.

Original comment by regbra...@gmail.com on 27 Jan 2011 at 4:52

GoogleCodeExporter commented 9 years ago
Hello,

We will consider adding support for this in a future release of PLINQO. If you 
would be willing to supply a patch with this functionality we would be willing 
to review it and possibly commit it into trunk (sooner rather than later).

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 27 Jan 2011 at 7:30