• 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
Relationships with horizontally mapped inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relationships with horizontally mapped inheritance


  • Subject: Relationships with horizontally mapped inheritance
  • From: John Boynton <email@hidden>
  • Date: Mon, 04 Aug 2003 18:47:03 -0600

Hi list,

I am considering using horizontal mapping to implement two types of "BillableEntity": "Customer" and "Contractor". The application already has a Customer entity, and I need to add the Contractor entity, which can have subcontractors, and thus the need to bill to the contractor.

If I use horizontaly-mapped inheritance so that I have separate tables for "Customer" and "Contractor", will EOF be able to be able to transparently handle relationship joins to the different tables? For example, I want to change the Invoice entity to have a "billTo" relationship to BillableEntity instead of a "customer" relationship to Customer so I can invoice contractors as well as customers. Can this be done, or will I need to set up separate foreign keys and relationships for Customer and Contractor in Invoice?

Thanks,
John
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Relationships with horizontally mapped inheritance
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Struggling with qualifiers involving sets
  • Next by Date: Re: Xcode
  • Previous by thread: Re: Converting NSArray Objects To EOEnterprise Objects [SORTED]
  • Next by thread: Re: Relationships with horizontally mapped inheritance
  • Index(es):
    • Date
    • Thread