Creating an EOEditingContext object
Creating an EOEditingContext object
- Subject: Creating an EOEditingContext object
- From: Ismael Nass-Duce <email@hidden>
- Date: Sun, 25 Apr 2004 19:11:09 -0700
Hi,
How can I create an EOEditingContext object that I can use to
access records from a database.
I created a WebObjects application, which uses the same EO model
that I used for WebObjects Java Client.
I want to use the objectsWithFetchSpecification() or
EOUtilities.objectsForEntityNamed()
methods to fetch objects from the database.
From what I can gather, I'll need to do the following:
>| - construct a model from a file
>| - create a EODatabase from that model
>| - create an EOQualifier with format
>| - create an EOFetchSpecification with entity
>| - retrieve an EOEditingContext from EODatabase
Is there sample code that applies these steps?
Ismael
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.