V
Versteijn
Hello all,
I have the following scheme:
Class Customer
Class Partner Inherits Customer
Now, I have a customer, that wants to be a partner.
A lot of methods and properties of my Customer class do not matter for
the core Partner class. They can be used, but they're not overridden
etc. So I don't want to manually copy all contents of Customer
properties into the Partner object, because then I have to change my
Partner object after every change in these Customer properties.
What would be a right design to do this?
Regards,
Freek Versteijn
I have the following scheme:
Class Customer
Class Partner Inherits Customer
Now, I have a customer, that wants to be a partner.
A lot of methods and properties of my Customer class do not matter for
the core Partner class. They can be used, but they're not overridden
etc. So I don't want to manually copy all contents of Customer
properties into the Partner object, because then I have to change my
Partner object after every change in these Customer properties.
What would be a right design to do this?
Regards,
Freek Versteijn