Providing Enum Consistency Between Application and Data

Enum usage is a very common practice in the software world that helps write high-quality and low-maintenance code. However, enum values that are not kept in any place (Database, file, etc.) other than the code, make the monitoring and interpretation of data strictly dependent on the application code itself. 

The Problem

Let’s consider a table like this:

CategoriesUncategorized