assigning primary key on insertion
assigning primary key on insertion
- Subject: assigning primary key on insertion
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 19 May 2003 13:49:40 -0500
A little while ago, I was having a discussion with someone on the list
about how to assign a pk to an EO as soon as it's inserted in the EC,
rather than waiting for it to be saved. They had a method which did not
require making the pk attribute class-visible, and which used the same
pk-generation technique which EOF would use on saveChanges(), but somehow
triggered it upon insertObject instead.
Except now I forget how they did this, and who it was that told me how to
do it! But I'd like to do it. Anyone have any advice? [Whether or not you
are the person I was originally talking to!]
--Jonathan
_______________________________________________
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.