Hi all:
Maybe this is a dumb question, but when should you map a column into a enum type. For instance, we all know that the column "Gender" which is represents as "M" or "F" in the database can be map to a enum called Gender. Since there are generally 2 gender :), we can be pretty sure that this enum will not need updating. However, what about enum set up for business logic? For instance, let say for region, if you have a Enum that represents all region within your database, whenever you insert another region into your database, that enum has to change, hence another promotion is needed. Is this a good practice? Is there best practice around this?
Thanks!