From 0c240865c55d9e19a2ad8087bfffd85d53113c50 Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 26 Jan 2023 16:22:23 +0800 Subject: [PATCH] Update Customizing-Application-Modules-Extending-Entities.md --- docs/en/Customizing-Application-Modules-Extending-Entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Customizing-Application-Modules-Extending-Entities.md b/docs/en/Customizing-Application-Modules-Extending-Entities.md index 937335d247..1db4ff263f 100644 --- a/docs/en/Customizing-Application-Modules-Extending-Entities.md +++ b/docs/en/Customizing-Application-Modules-Extending-Entities.md @@ -101,7 +101,7 @@ public class MyLocalIdentityUserChangeEventHandler : ```` * `EntityChangedEventData` covers create, update and delete events for the given entity. If you need, you can subscribe to create, update and delete events individually (in the same class or different classes). -* This code will be executed **out of the local transaction**, because it listens the `EntityChanged` event. +* This code will be executed in the **current unit of work**, so the whole process becomes transactional. > Reminder: This approach needs to change the `IdentityUser` entity in the same process contains the handler class. It perfectly works even for a clustered environment (when multiple instances of the same application are running on multiple servers).