Enumeration Composer allows to generate and update enum definitions in C# code using data from SQL Server, ODBC or OledDb sources. An enumeration is associated with a SQL SELECT statement which will define enumeration values. Connection to the data source can be defined either in *.config file or directly in the C#.
To reduce pollution of the code with unnecessary definitions Enumeration Composer preserves commented options during updates. Look-up tables could be large, and values that are not used in the code at the moment can be commented out untill necessary. See details: https://github.com/uriah65/EnumComposer/wiki |