How to Map to Protected Property using AutoMapper in C# and VB.NET
To map protected Properties using AutoMapper in C# and VB.NET you can use the following snippet. Samples Sample C# Mapper.CreateMap<Source, Destination>().AfterMap((src, dest) => dest.MethodToSetProtectedProperty(Source.SourceProperty)); Sample VB.NET Mapper.CreateMap(Of Source,...
















