diff --git a/Elight.Entity/AuthManageProfile.cs b/Elight.Entity/AuthManageProfile.cs index ea74648..3758a81 100644 --- a/Elight.Entity/AuthManageProfile.cs +++ b/Elight.Entity/AuthManageProfile.cs @@ -17,11 +17,7 @@ namespace Elight.Entity CreateMap().ReverseMap(); CreateMap().ReverseMap(); - CreateMap().ReverseMap().ForAllMembers(opt => - { - opt.UseDestinationValue(); - opt.Condition((src, dest, srcm, destm) => srcm != null); - }); + CreateMap().ReverseMap(); CreateMap().ReverseMap(); CreateMap().ReverseMap();