Custom Primary key
Custom Primary key
- Subject: Custom Primary key
- From: Jean-Francois Veillette <email@hidden>
- Date: Fri, 12 Feb 2010 14:22:01 -0500
I vaguely remember that someone wrote some code to create primary key
based that embed entity name (or something like this) in it.
I want to use it as a foreign key akin to:
Person <->> Link <<-> Contact
where Contact is an abstract entity with sub-entity like
"CivicAddress", "Phone number", "URL", "Email", etc.
I would like the primary key of contact to 'embed' the entity info, so
that there is no need to fetch multiple tables just to find the right
one.
Is there a prototype for this ?
I vaguely remember seeing some sample code that does this. But I
can't figure out where.
Any pointer to it ?
Thanks,
- jfv
_______________________________________________
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