You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have an entity that have to associations with a table, you set roles on those. If a DTO reference only one of the association it keeps the role but the generator issue a CodeStyle. It shoudn't.
The text was updated successfully, but these errors were encountered:
I have an entity BER that have two FKs linking a second entity Intervenant.
To do that, I need to set a role on each link from BER to Intervenant.
In my DTO I only need to reference one of those two links. So to be coherent I want to keep the role information to know at all times which of the both links I'm referencing.
If I do, the generator gives me a CodeStyle error saying that I can only use role if I have two links or more.
[CodeStyle] - : Referentiel_Metier.oom Classe BerDto : La propriété [IntervenantCodePropose] est la seule à référencer la classe ReferentielData.ReferentielDataContract.Intervenant, elle ne doit pas avoir de rôle.
When you have an entity that have to associations with a table, you set roles on those. If a DTO reference only one of the association it keeps the role but the generator issue a CodeStyle. It shoudn't.
The text was updated successfully, but these errors were encountered: