type
[Enumeration(TEnumMappingType.emChar, 'P,G,M,L,F,C')]
TStatusOrder = (Pendiente, Pagado, MuestraRecibida, EnLaboratorio, Finalizado, Cancelado);
.. My code for projections
Results := Manager.Find
.Select(TProjections.ProjectionList
.Add(TProjections.Count('IdOrderMaster').As_('Count'))
.Add(TProjections.Group('StatusOrder'))
).ListValues;
But When i read
Results[0].Values[1];
I get 'P', 'G', etc but i need EnunName
With Aurelius Dataset I use EnunName, Now i will migrate to web, and need for my Json in a DTO.
How i can do ?