Hi,
I have multiple models and wonder how to handle a Foreign key on entities shared among models.
Exemple :
Model A contains entity AA
Model B contains entity BB which has an interger property named AA_Id (it represent a relation to AA.Id)
When entity BB is saved, I want to call in my save interceptor a Service from model A which will generate an AA entity.
This AA entity will have a temporary Id, how can I do to update the AA_ID in my BB entity during the save ?
Regards,