Re: Get fetched raw row into an editing context
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