Closed PabloPG closed 6 years ago
When i parse a generic type:
AutoMapper.Configuration.AddIdentifier(typeof(T), alias); return AutoMapper.MapDynamic(query) as IEnumerable;
In my class T i have a Enum: public enum SimNaoEnum { S = 0, N = 1 }
in dynamic query i have value N, but after automapper always get S (default value)
When i parse a generic type:
AutoMapper.Configuration.AddIdentifier(typeof(T), alias); return AutoMapper.MapDynamic(query) as IEnumerable;
In my class T i have a Enum: public enum SimNaoEnum { S = 0, N = 1 }
in dynamic query i have value N, but after automapper always get S (default value)