Base solution for your next web application
Open Closed

Domain Event: EntityEventData #3383


User avatar
0
tteoh created

Dear Support,

With reference to online documentation: <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/EventBus-Domain-Events#entity-changes">https://aspnetboilerplate.com/Pages/Doc ... ty-changes</a>

I could not find any specific example on how to implement EntityEventData that is part of Abp.Events.Bus.Entities namespace.

I found the use of EntityEventData in the EventCloud sample application.

  1. May I know its purpose and usage as I am trying to piece together the explanation of online documentation and the EventCloud sample application.

  2. Where can I find more information on EntityEventData?

  3. Am I right to classify EntityEventData as part of Domain Event for Entity Changes?

Thanks. /Tommy


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is just a base class for Entity***EventData classes. We think that it should not be used in most cases and that is why it is not documented.

    If you use EntityEventData in your domain events, your domain event will be called for all operations on an entity like EntityCreating, EntityCreated, EntityUpdating, EntityUpdated etc...

    There is no other documentation for this class, if you can explain your usecase, we can try to explain it more.

    Thanks.