How to create enum file dynamically from the database (or any other Data source)

30 באוקטובר 2012

Hey. While we all wait for all the news from 2012 build, I thought about sharing something I did in one of my previews projects. In this project we had two sources for the same enum, from the database and from a constants in the application. Each time you wanted to add an enum entry, you had to change it in two places, both in the code and the database. This is, of course an example of bad design and we thought about a solution that will not change the entire application but remove the...
אין תגובות