From 98d5bd3ff8bb3503241a8b91498710bca7fd0532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Tue, 24 Oct 2023 00:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dto=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Elight.Entity/AuthManageProfile.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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();