• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Copying An EO Values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying An EO Values


  • Subject: Re: Copying An EO Values
  • From: Gino Pacitti <email@hidden>
  • Date: Sun, 03 Aug 2008 20:52:09 +0100

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@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc




----------------------------------------------------- Gino L. Pacitti Base Enterprise UK email: email@hidden phone: sales: 0845 094 9784 mob: 07980 851 953

Aol: kris121
Msn: email@hidden
Skype: ginkris
Mac.com: email@hidden

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@hidden

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Copying An EO Values
      • From: Owen McKerrow <email@hidden>
References: 
 >Copying An EO Values (From: Gino Pacitti <email@hidden>)
 >Re: Copying An EO Values (From: Ondřej Čada <email@hidden>)

  • Prev by Date: Re: Copying An EO Values
  • Next by Date: Re: WOText Escape HTML Broken?
  • Previous by thread: Re: Copying An EO Values
  • Next by thread: Re: Copying An EO Values
  • Index(es):
    • Date
    • Thread