From 34918eb7705a27f6b2744e8c7c07c6c0f7d477c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 18 Jun 2020 22:10:12 +0300 Subject: [PATCH] reuse the obtained object. --- .../Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs index c9219feffc..5d191b33e6 100644 --- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs +++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs @@ -133,7 +133,7 @@ namespace Volo.Abp.Domain.Entities.Events await TriggerEventWithEntity( DistributedEventBus, typeof(EntityDeletedEto<>), - EntityToEtoMapper.Map(entity), + eto, false ); }