• Post Reply Bookmark Topic Watch Topic
  • New Topic

set child to which parent?

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i solve this: imagine i've a class Boss that contracts services with class Insurance; these contracts are written in class Contract.
I'd like Boss and Insurance to have their own set of contracts.
But when i create a new contract, to whom do i make the set:

Hope i made myself clear enough
Can someone help me please?
thanks in advance
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!