2
Good morning !
I have a question regarding composite key mapping.
The situation is as follows:
I have a class whose primary key of the same is composed of two other classes, but I have a third class which key of this third class is one composed of the other class which the key is already composed of.
The doubt would be, using embeddable I will reference the class itself or its key?.
Exemplifying to facilitate understanding;
Class 1 (composite key) Apolice --> key (Apolicepk embeddable)
Class 2 (composite key)
File -> key (is embeddable but do not know if reference Apolice or Apolicepk)
I’m waiting for help
Sincerely yours