3 years 1 week ago - 3 years 1 week ago#5672by 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:
Last Edit: 3 years 1 week ago by fjaen. Reason: This post should be in the General Help section. Sorry about this
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.