Hi. An address doesn't need to relate back to the person or client.
Have a one-way relationship. Mark On 14 Sep 2013, at 05:29, Theodore Petrosky <[email protected]> wrote: > I need an opinion about relationships. > > I want to have an entity Person with a to-many to address. a Person could > have many addresses (home, second home, weekend place, love nest). > > And I have clients. a Client needs addresses too (billing, main office, act > rep, etc) > > how would you model this? > > a person entity with a to-many relationship to address > a client entity with a to-many relationship to address > > or would you create a subclass of address and map that to the clients. > > is it 'bad' to have two to-many relations to an entity, (both person, and > client mapped to entity address). > > Ted > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org > > This email sent to [email protected] -- Dr. Mark Wardle Consultant Neurologist, University Hospital Wales, Cardiff, UK Email: [email protected] or [email protected] Twitter: @mwardle Telephone: 02920745274 (secretary) or facsimile: 02920744166
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
