Hi Viktor,
you need refactor your table, example:

and when you create a EmpresaPicture, set the EmpresaId, example:

and an important point is, you must first create the record for the Empresa table, then create EmrpesaPicture.
however, it may be necessary to delete the EmpresaPicture table and recreate.
Look .oml in attachment.
Regards.