Open Closed

Generic EventBus Handlers #987

hasan created

Hello Team,

I have gone through the document at

<a class="postlink" href=""> ... ain-Events</a>

Do you have any sample to handle the generic event data classes for entity changes: EntityCreatingEventData<TEntity>, EntityCreatedEventData<TEntity>, EntityUpdatingEventData<TEntity>, EntityUpdatedEventData<TEntity>, EntityDeletingEventData<TEntity> and EntityDeletedEventData<TEntity>. Also, there are EntityChangingEventData<TEntity> and EntityChangedEventData<TEntity> ?

Thanks Again

1 Answer(s)
  • 0
    hikalkan created
    Support Team

    An example: <a class="postlink" href=""> ... lidator.cs</a>

    This class clears some cache when a TenantFeatureSetting entity is changed (created, updated or deleted).