Re: Re DisplayGroups. Inserting and deleting objs
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.