I'm trying to figure out how to use AutoMapper with the following scenario :-
I have the following Entity Model :-
public class Lender : LegacyEntity
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public ClaimType ClaimTypes { get; set; }
        //Other properties kepy out for brevity.
    }
And Here is The Following Service Model :-
public class LenderServiceModel 
    {
        [Editable(false)]
        public int Id { get; set; }
        [Editable(false)]
        public string Name { get; set; }
        [Editable(false)]
        public List<string> ClaimTypes { get; set; }
    }
In the case of the Entity model, the ClaimType property is a Flags Enum :-
 [Flags]
    public enum ClaimType : int
    {
        A = 1,
        B = 2,
        C = 4,
    }
I want to be able to map from the Entity Model, to the Service Model. I need to map the ClaimType to List on the Service Model, but i have had no luck.
I'm new to AutoMapper, any help would be apreciated.
 
     
     
    