Hello
In my plugin, i have a "Create" event, linked to an entity. This event is fired by :
- the entity's associated form, when the user click on the "Save" button
- after the calling of the "localContext.OrganizationService.Create(my entity)" method
I would know which element has fired this "Create" event. From the form, or from the Create method ?
Except creating a flag in the entity, which will be initialized according the calling context, is there a more elegant method ?
Thanks !
In my plugin, i have a "Create" event, linked to an entity. This event is fired by :
- the entity's associated form, when the user click on the "Save" button
- after the calling of the "localContext.OrganizationService.Create(my entity)" method
I would know which element has fired this "Create" event. From the form, or from the Create method ?
Except creating a flag in the entity, which will be initialized according the calling context, is there a more elegant method ?
Thanks !