From 83ca22302897eaacacb82322d408abcdafdabd70 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Fri, 17 Jul 2020 18:14:35 +0800 Subject: [PATCH] Use eventEntry.EventBus instead of eventPublisher --- .../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 5de3b22c77..2747257001 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 @@ -263,7 +263,7 @@ namespace Volo.Abp.Domain.Entities.Events { try { - await eventPublisher.PublishAsync( + await eventEntry.EventBus.PublishAsync( eventEntry.EventType, Activator.CreateInstance(eventEntry.EventType, eventEntry.EntityOrEto) );