Hi, when I put this value on the "association" tag at xml, the framework retrieves recursive objects?
Example:
I have a class CContrato which has a collection CContratoEmpresa which has CEmpresa as attribute. The framework only retrieves the CContrato and the collection of CContratoEmpresa ? It didn't retrieves the CEmpresa attribute as CContratoEmpresa?
Thank you,
Andr Ribeiro from Brazil.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
RetrieveAutomatic will only retrieve for the association against which it is declared.
If you have an association from CContratoEmpresa to CEmpresa as well, and you also mark that with RetrieveAutomatic then all associations will be processed as you expect.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, when I put this value on the "association" tag at xml, the framework retrieves recursive objects?
Example:
I have a class CContrato which has a collection CContratoEmpresa which has CEmpresa as attribute. The framework only retrieves the CContrato and the collection of CContratoEmpresa ? It didn't retrieves the CEmpresa attribute as CContratoEmpresa?
Thank you,
Andr Ribeiro from Brazil.
Hi Andre
RetrieveAutomatic will only retrieve for the association against which it is declared.
If you have an association from CContratoEmpresa to CEmpresa as well, and you also mark that with RetrieveAutomatic then all associations will be processed as you expect.