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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/dandrews% 40mediaspansoftware.com

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