public MyProfile2() { SourceMemberNamingConvention = new PascalCaseNamingConvention(); DestinationMemberNamingConvention = new UpperUnderscoreNamingConvention(); CreateMap <AssetNpaLandDetailDto, ASSET>() .ForPath(dest => dest.NPA.LAND.ADDRESS, mo => mo.MapFrom(src => src.NPALandAddress)); }
public MyProfile() { SourceMemberNamingConvention = new UpperUnderscoreNamingConvention(); DestinationMemberNamingConvention = new PascalCaseNamingConvention(); CreateMap <ASSET, AssetNpaLandDetailDto>(); //.ForMember(dest => dest.NPALandAddress, mo => mo.MapFrom(src => src.NPA.LAND.ADDRESS)) //.ReverseMap(); }