Hey,

Ondra's suggestion is the a good idea. Or you could have a look at Chapter 9 of Chucks "Practical WebObjects" book, which is a whole chapter on this very topic :)

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 'The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time and still be able to function.'
-F.Scott Fitzgerald,


On 04/08/2008, at 5:52 AM, Gino Pacitti wrote:

Well what I mean is that  instead of

neweo.setValue(existingeo.someValue());

for every value in the existingeo which I want to transpose to the neweo.
Is there a operation like -

neweo = existineo.clone();

So all the values in the new eo are the same as existingeo but obvioulsy with a new PK..

GIno



On 3 Aug 2008, at 20:41, Ondřej Čada wrote:

Gino,

On Aug 3, 2008, at 9:27 PM, Gino Pacitti wrote:

Has anyone had experience copying an EO values fetched and in and EditingContext to a new EO in an atomic action?

"Atomic" in what sense?

Myself, I've always combined valuesForKeys and takeValuesFromDictionary, but YMMV :)

Best,
---
Ondra Čada
OCSoftware:     [EMAIL PROTECTED]               http://www.ocs.cz
private         [EMAIL PROTECTED]             http://www.ocs.cz/oc




-----------------------------------------------------
Gino L. Pacitti   Base Enterprise UK
email: [EMAIL PROTECTED]
phone:  sales: 0845 094 9784
mob: 07980 851 953

Aol: kris121
Msn: [EMAIL PROTECTED]
Skype: ginkris
Mac.com: [EMAIL PROTECTED]

http://www.base-enterprise.co.uk

mail: Base Enterprise
PO BOX 674
East Grinstead
West Sussex
RH19 3ZG

Base Enterprise LTD
Company Number 04339224
Registered in England & Wales

Registered Member of the UK Web Design Association.
Accredited by Business Link and a member of the FSB.

Web Design, coding and information architect
Web Objects and Database Developer
HTML, XML, Javascript and WAP technologies.
-----------------------------------------------------

This email and any attachments is confidential and may be legally
privileged and protected from disclosure. It is intended solely for
the use of the individual or entity to whom it is addressed and
others authorized to receive it.

If you are not the intended recipient of this e-mail of any parts of
it please telephone +44 845 094 9784 immediately upon receipt
or contact [EMAIL PROTECTED]

No other person is authorized to copy, forward or disclose,
distribute or retain this e-mail in any form.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/owen% 40uow.edu.au

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to