There are defined Enumeration values:- under review, Draft-Update etc and these are saved in db as under_review ,Draft_Update etc, How the underscore is added?
There are some predefined Enumeration values in the code , such as under review, Draft-Update etc. and these values are saved in database as Under_Review, Draft_Update etc. I am unable understand how underscore is added while saving in the Mendix Database. Thanks
This is because it is the technical name of the enumeration:
'The name of an enumeration value must be a technical name without spaces and special characters. On the other hand, the caption of an enumeration value can any character. For example, an enumeration value can have ‘InProgress’ as its name and ‘In progress’ as its caption.'