Browse Source

Update Object-To-Object-Mapping.md

pull/4164/head
Halil İbrahim Kalkan 6 years ago
parent
commit
66d7611bf8
  1. 4
      docs/en/Object-To-Object-Mapping.md

4
docs/en/Object-To-Object-Mapping.md

@ -198,7 +198,7 @@ public class MyProfile : Profile
{ {
public MyProfile() public MyProfile()
{ {
CreateMap<SimpleClassAudited1, SimpleClassAudited2>() CreateMap<SimpleClass1, SimpleClass2>()
.ForMember(x => x.CreationTime, map => map.Ignore()); .ForMember(x => x.CreationTime, map => map.Ignore());
} }
} }
@ -211,7 +211,7 @@ public class MyProfile : Profile
{ {
public MyProfile() public MyProfile()
{ {
CreateMap<SimpleClassAudited1, SimpleClassAudited2>() CreateMap<SimpleClass1, SimpleClass2>()
.Ignore(x => x.CreationTime); .Ignore(x => x.CreationTime);
} }
} }

Loading…
Cancel
Save