Re: Custom Primary key
Re: Custom Primary key
- Subject: Re: Custom Primary key
- From: Jean-Francois Veillette <email@hidden>
- Date: Fri, 12 Feb 2010 14:25:50 -0500
found it in ERXLongPrimaryKeyFactory !
Any advice / experience you would like to share about it ?
- jfv
Le 10-02-12 à 14:22, Jean-Francois Veillette a écrit :
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 ?
_______________________________________________
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