• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: structure opinions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: structure opinions


  • Subject: Re: structure opinions
  • From: Amedeo Mantica <email@hidden>
  • Date: Sat, 14 Sep 2013 18:24:30 +0200

You can have as many relationships you like

Sent from my iPhone

> On 14/set/2013, at 06:29, Theodore Petrosky <email@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >structure opinions (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: JRebel 5.3.2
  • Next by Date: Re: structure opinions
  • Previous by thread: structure opinions
  • Next by thread: Re: structure opinions
  • Index(es):
    • Date
    • Thread