Hi everybody,

I created a new plugin and now i need to implement Iconsumer<> to do some treatment when a new update is done in the table dbo.PermissionRecord_Role_Mapping.

For instance i tried to implement this interface for the both entities PermissionRecord and CustomerRole that have a relation many to many but i need to focus in update between the two table not to the table themselfs.

This what i implemented for now but i want to know how to manage event when it happen an update in the mapping_table :

 public class ModelCacheEventConsumer :
      
        //PermissionRecord
        IConsumer<EntityInserted<PermissionRecord>>,
        IConsumer<EntityUpdated<PermissionRecord>>,
        IConsumer<EntityDeleted<PermissionRecord>>,

        //CustomerRole
        IConsumer<EntityInserted<CustomerRole>>,
        IConsumer<EntityUpdated<CustomerRole>>,
        IConsumer<EntityDeleted<CustomerRole>>,




If anyone know about this problem please contact me.

Best regards.