• 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: Get fetched raw row into an editing context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get fetched raw row into an editing context


  • Subject: Re: Get fetched raw row into an editing context
  • From: Doug Andrews <email@hidden>
  • Date: Wed, 25 Apr 2007 14:01:18 -0400

Assume these exist:

EOEditingContext ec
and
NSDictionary rawRow;

To create an EOEnterpriseObject that represents this rawRow and is registered with ec:

EOEnterpriseObject myEO = ec.faultForRawRow(rawRow,"your entity name");

but like Chuck said, it will go back to the database.



On Apr 25, 2007, at 11:54 AM, Dana Kashubeck wrote:

Maybe there is an obvious answer, but if there is I'm missing it.

I am fetching raw rows from the database at the adaptor level. I have no problem converting those raw rows into EOs, but I cannot for the life of me figure out how to get those EOs into an editing context without performing another fetch. Is there a way to get an editing context to register an EO that represents an existing row in the database fetched via the adaptor channel?

--
-------------------------------------
Dana Kashubeck
Systems Manager
Riemer Reporting Service Inc.
http://www.riemer.com

Phone: 440-835-2477 x. 125
Fax:   440-835-4594
-------------------------------------

<dana.kashubeck.vcf>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mediaspansoftware.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Get fetched raw row into an editing context (From: Dana Kashubeck <email@hidden>)

  • Prev by Date: Re: Get fetched raw row into an editing context
  • Next by Date: Space Still Available - WebObjects I - Introductory Course, 6/18-6/22 in Seattle, WA
  • Previous by thread: Re: Get fetched raw row into an editing context
  • Next by thread: Space Still Available - WebObjects I - Introductory Course, 6/18-6/22 in Seattle, WA
  • Index(es):
    • Date
    • Thread