5
Vote

add support for generating enums based on lookup tables in database

description

Allow the user to list the set of lookup tables they would like enums for (and potentially try to discover them with some heuristics, like 2 columns of int and string, row count under X, etc). Option should be defaulted to false/off for both perf and safety concerns. :)

There's already a template that does this which seems like it could help point the way to implementing this AFAICT

http://www.snip2code.com/Embed/4514/Generate-Enums-from-database-lookup-tabl/

comments