many-to-many with attributes?
many-to-many with attributes?
- Subject: many-to-many with attributes?
- From: Jim Zajkowski <email@hidden>
- Date: Tue, 26 Jul 2005 13:34:00 -0400
Hi there,
What's the best way to handle a many-to-many relationship that has an
attribute on the relation?
That is, let's say I have a table of users, and a table of groups. I
want a m-to-m relation between them, since clearly more than one user
can belong to a group, and I'd like to see what users are in a group.
But I also want to include some form of "access level" (e.g.,
moderator, administrator, regular user).
In DB land I'd model this by having an additional attribute on the
users-groups table. But when I've done that in EOModeler, it creates
a flattened relation, and so there isn't a way to see that attribute.
So, what's the best way to do it? Not flatten the relation and walk
the m-to-m by hand?
Thanks,
--Jim
_______________________________________________
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