• 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: Defining child Entities.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining child Entities.


  • Subject: Re: Defining child Entities.
  • From: Stefan Klein <email@hidden>
  • Date: Tue, 11 Aug 2009 12:38:08 +0200

Hi Gustavo,

you need only one entity.

Area:
    area_pk
    parent_area_fk
    foo

Now you build a relationship area_pk <->> parent_area_fk.
So each area can have many 'subareas' while one are has only one parent area.

Stefan


Gustavo Pizano schrieb:
Hello Im doing an eomodel.. .and I have an entity called Area, and SubArea, for me an area can have many subareas, but subarea its an area itself also..
so its like Area <- >>SubArea.

Now what are the implications of defyning Area with its properties, and then SubArea and put as parent Area?... I see that inside Area Entity there is SubArea Entity also... but I guess this doesn't guaranties me the to-many relationship between the 2 entities isn't it?do  I still have t defying the relationship?


Thanks

 Gustavo


_______________________________________________ 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

  • Follow-Ups:
    • Re: Defining child Entities.
      • From: Gustavo Pizano <email@hidden>
References: 
 >Defining child Entities. (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Defining child Entities.
  • Next by Date: Re: Session... when are they created?
  • Previous by thread: Defining child Entities.
  • Next by thread: Re: Defining child Entities.
  • Index(es):
    • Date
    • Thread