How to create enum dynamically?
<p>I need to create an enum based on a table from the database.</p>

<p>DB table MyColors: id/title/value
    1/Red/1
    2/Green/4</p>

<p>dynamic create</p>

<pre><code>enum MyColors {
    Red=1,
    Green=4;
}
</code></pre>
