BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Objects one to many

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design
View previous topic :: View next topic  
Author Message
Dennis Kuntzemann
Guest





PostPosted: Fri Aug 04, 2006 8:13 am    Post subject: Objects one to many Reply with quote



Hello,

I would like to implement the assosiation one to many of two objects.
For example I have a unit agents and a unit contracts. one agent can have
lots of contracts.
I was thinking of implementing a third unit like TContractsList, so that
agent can have a property contracts:TContractList.
The Collections already defined in Delphi are references to objects, arent
they?
Or is there a copy method, so if I generate a contract object that i can
easily add it to a collection of contracts?

Thank you very much!

Best regards,

Dennis
Back to top
Riki Wiki
Guest





PostPosted: Sat Aug 05, 2006 12:49 am    Post subject: Re: Objects one to many Reply with quote



Hoi Dennis

You need to repost your message on the Borland news server to make
everybody see it and possibly answer your message.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.