• 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: Re DisplayGroups. Inserting and deleting objs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re DisplayGroups. Inserting and deleting objs


  • Subject: Re: Re DisplayGroups. Inserting and deleting objs
  • From: Art Isbell <email@hidden>
  • Date: Wed, 15 Jan 2003 09:46:17 -1000

On Wednesday, January 15, 2003, at 07:03  AM, Jevon Hills wrote:

will be using card keys for security.  A card key can only access a
console if it is associated with it.  This is a many to Many relation
ship modeled in the database by a table of CardKeys, a table of
Consoles and a linktable between the 2.  the link table contains cardid
and consoleid.

so when I add a Console to a Card I just add a row to the link table
and, obviously when I remove an association I delete a row.

Methinks you are working too hard. If you let EOModeler build your many-to-many relationship, it creates flattened to-many relationships between each entity. If you use those relationships, you won't have to reference the link entity at all. In fact, it should be marked as Abstract since there's no need to ever create any link entity objects in your app.


Art
http://homepage.mac.com/aisbell/
_______________________________________________
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.

References: 
 >Re DisplayGroups. Inserting and deleting objs (From: Jevon Hills <email@hidden>)

  • Prev by Date: Re: Breakpoint don't work with WebObjects 5.2 and Project Builder 2.1
  • Next by Date: Re: Validation problems with WOCheckBox
  • Previous by thread: Re DisplayGroups. Inserting and deleting objs
  • Next by thread: Fwd: Re DisplayGroups. Inserting and deleting objs
  • Index(es):
    • Date
    • Thread