file association classes code generation

1 month 2 days ago - 1 month 2 days ago #5672 by fjaen
Hello,
I have a class diagram with an association class (see attachment).

When I generate c# code I would like the generator to generate

** In class Person
public ICollection<Purchase> purchases;

** In class Car
public Purchase purchase;

**In class Purchase
public Person owner;
public Car car;

But instead, the generated Purchase class has no references to Person/Car, the Person class has a reference to Car and the Car class a reference to Person. Is there a way to change the way the code generation rules are applied to association classes?
Thanks in advance for your help
Attachments:

Please Log in or Create an account to join the conversation.

4 weeks 1 day ago #5677 by pan
Hello,

If you have a support contract with Modeliosoft I suggest you to contact them in order to help you. The Modelio development team don't provide help about Modeliosoft commercial products.

Please Log in or Create an account to join the conversation.

Moderators: tmachmebr
Time to create page: 0.139 seconds
^ Back to Top