There are few entities which data are not been changed very frequently, but one or two items are added over few months. For instance, user type, product category, order type, payment mode. For better database operations values of these fields are kept in database and been referred to other entities as foreign keys. But interestingly values of these “Type” entities are used very frequently in coding layer, where developers had to use the hard-coded primary key value or the string value of this type to perform any business logic or UI (User Interface) logic, which reduces ‘Readability” or “Maintainability” of code (what if we change the type name, in that case we need to search for the string or primary key value among the whole project!).
As .Net framework supports Enumeration type, where possible enumeration type can be implied upon those business entities. Where adding or changing to any of it’s values requires the developer only to concentrate on the code segment where the enumeration values are set.